KB Logo

TOLIS Group Knowledge Base

Browse KB by category:
Go to KB #:
Glossary
Email   Bookmark



How to automatically disable Time Machine during a BRU Server backup.

Views: 6921
Votes: 3
Posted: 24 Apr, 2008

Disable the autobackup of Time Machine during a BRU Server backup.

If you use Time Machine in conjunction with BRU Server on Mac OS X 10.5 (Leopard) then it is a good idea to turn off Time Machine for the duration of the BRU Server backup.  This process can either be automated or used manually.  In either case, these steps will show you how to turn off Time Machine for the duration of a BRU Server backup on a Leopard system in which Time Machine is running.

Important Note: These steps are to be done by the system administrator.  If you are not the system administrator, please contact your system administrator to have them perform these steps.

10.4 and Earlier Note: These steps do not need to be performed on any machines running Mac OS X 10.4 and earlier as they do not have Time Machine.  This is for Leopard systems only.

Part One:

  1. On the BRU Server Agent machine, open the Applications folder.
  2. Open the Utilities folder.
  3. Double-click on the "Terminal " application.
  4. Once the Terminal application appears, copy and paste the following command:

  5. sudo pico /usr/local/bru-server/pre

  6. At the password prompt, type the user password.  You must be a system administrator to create this file.
  7. A command line word processor called PICO will load, simply copy and paste the following command:

    defaults write /Library/Preferences/com.apple.TimeMachine "AutoBackup" -boolean no

    Note: If this file is a blank or new file, make sure you add the ShaBang to the top, usually: #!/bin/bash

  8. You can paste by typing command-v (⌘ v), by right-clicking and choosing "Paste," or by choosing "Paste" from the "Edit" menu.  You may also simply type the full command above into the PICO window.
  9. Once the command above has been fully entered, press CTRL-O (control-O -- Not zero). Note that it's the CONTROL key and not the command key.
  10. It will prompt you for the file name, just press [ENTER] (a.k.a. [RETURN]).
  11. Exit PICO by pressing CTRL-X (control-x). Note that it's the CONTROL key and not the command key.
  12. Now, one last step remains.  This file needs to be executable for BRU Server to be able to manually execute this command. To do this, copy and paste the following command:

    sudo chmod +x /usr/local/bru-server/pre

Part one is now complete.  You have successfully made a pre-script and made it executable for BRU Server to execute on the client system prior to BRU Server running a backup. Part two will show you how to make a post script.

Part Two:

  1. If you closed the Terminal window already, then you'll need to open it again.
    1. On the BRU Server Agent machine, open the Applications folder.
    2. Open the Utilities folder.
    3. Double-click on the "Terminal" application.
  2. In the Terminal window, copy and paste the following command:

    sudo pico /usr/local/bru-server/post

  3. At the password prompt, type the user password.  You must be a system administrator to create this file.
  4. A command line word processor called PICO will load, simply copy and paste the following command:

    defaults write /Library/Preferences/com.apple.TimeMachine "AutoBackup" -boolean yes
  5. Note: If this file is a blank or new file, make sure you add the ShaBang to the top, usually: #!/bin/bash

  6. You can paste by typing command-v (⌘ v), by right-clicking and choosing "Paste," or by choosing "Paste" from the "Edit" menu.  You may also simply type the full command above into the PICO window.
  7. Once the command above has been fully entered, press CTRL-O (control-O -- Not zero). Note that it's the CONTROL key and not the command key.
  8. It will prompt you for the file name, just press [ENTER] (a.k.a. [RETURN]).
  9. Exit PICO by pressing CTRL-X (control-x). Note that it's the CONTROL key and not the command key.
  10. Now, one last step remains.  This file needs to be executable for BRU Server to be able to manually execute this command. To do this, copy and paste the following command:

    sudo chmod +x /usr/local/bru-server/post

Part two is now complete. You may now close your terminal window.   You have successfully made a post-script for BRU Server to execute on the client system after a BRU Server backup has been performed.

Legal Note: These commands are provided as-is and TOLIS Group assumes no liability if you choose to attempt to run either of these commands, nor does TOLIS Group Technical Support offer support for these commands.. These commands are provided as a options and are not required to be run in order to use any TOLIS Group product. Please see the Legal Restrictions & Terms and Conditions for Use of Web Site for more information.

Others in this Category
document I have two NIC/Ethernet cards in my system, how do I tell BRU Server which one to use?
document How do I control tape devices with tapectl(tm)?
document Executing Tasks Before or After a Job Run
document I've setup an email address in my backup job, but I don't get the emails. Why not?
document About BRU Server's Architecture
» More Articles



RSS
Powered by KnowledgebasePublisher
Page Load Time: 0.044723 seconds / 44.723 milliseconds.
Page File Size: 29247 bytes.