For most users, only a very few folders contain data of interest. The rest of the folders can be re-established by re-installing system and application software.
In the following discussion it is assumed that the user has some familiarity with the Terminal window (Applications:Utilities:Terminal) and unix commands.
At the present time, the Legato NetWorker server does not understand how to skip everything except for a few named folders, so every file and folder at the highest level directory must be explicitly skipped EXCEPT the folders that the user wishes to back up. If any file, folder or path name contains a space, the name must be enclosed in quotation marks. Names that do not contain spaces may also be enclosed in quotation marks, if you wish.
In a Local Directives file, records that begin with a "#" are comments. You may wish to enter comments in your Local Directives file.
For most Mac OS X systems, only the "/Users" and (if it exists) the "/Documents" folders will need to be backed up. In the following list of instructions, the use of text editors TextEdit and pico are suggestions only. The user may wish to use a different combination of text editors.
For most users, this completes the creation of the Local Directives file. You should be aware that there are many more lines in the file than are indicated in the example above.
Some users have more than one disk partition or external volume on their workstation or PowerBook. If this applies to you, you need to extend your Local Directives file to include the extra partitions. These partitions and disk volumes are listed in file /Volumes. If you need to skip or include files and folders on extra partitions, you need to perform the above steps for each partition or external volume.
On my computer, I chose to skip backups for all partitions except the partition containing the MacOS X system, and a single folder on volume B–SysRes. A directory listing of B–SysRes shows:
Desktop DB
Desktop DF
Desktop Folder
GW
Stuff for Mac OSX
TheFindByContentFolder
TheVolumeSettingsFolder
Trash
For this disk volume, I wish to back up only folder Stuff for Mac OSX. This means that my Local Directives file now looks like:
<< / >>
skip: "Applications"
skip: "Desktop DB"
skip: "Desktop DF"
skip: "Desktop Folder"
skip: "Library"
skip: "NAV??? 7.0 QuickScan"
skip: "Network"
skip: "System"
skip: "TheFindByContentFolder"
skip: "TheVolumeSettingsFolder"
skip: "Trash"
skip: "Volumes"
skip: "automount"
skip: "bin"
skip: "cores"
skip: "dev"
skip: "etc"
skip: "mach"
skip: "mach.sym"
skip: "mach_kernel"
skip: "nsr"
skip: "private"
skip: "sbin"
skip: "tmp"
skip: "usr"
skip: "var"
skip: "zztestfile"
<< "/Volumes/Paul's G3/" >> <== quotation marks required
skip: * .?*
<< /Volumes/A-SysRes/ >>
skip: * .?*
<< /Volumes/B-SysRes/ >>
skip: "Desktop DB"
skip: "Desktop DF"
skip: "Desktop Folder"
skip: "GW"
# "Stuff for Mac OSX" <== folder not skipped
skip: "TheFindByContentFolder"
skip: "TheVolumeSettingsFolder"
skip: "Trash"
<< /Volumes/SharedStuff/ >>
skip: * .?*
Last updated by Paul Henderson (email henders at UWaterloo.ca) on
July 15, 2005.
Keywords: (none)