next up previous contents
Next: storeBackup.pl Options Up: Components / Programs to Previous: Supported Platforms   Contents


storeBackup.pl

This is the basic program to make a backup. Beside a lot of options, there are two modes you can use:

  1. Directly making a backup and do all the necessary copying, compressing, linking, permission settings etc. If you are not familiar with storeBackup, you should start with this mode.
  2. Only do the absolutely necessary and left the rest to storeBackupUpdateBackup.pl which you have to run later. This is a kind of client / server mode.

usage:
	storeBackup.pl --help
or    
	storeBackup.pl -g configFile
or
	storeBackup.pl [-f configFile] [-s sourceDir]
	      [-b backupDirectory] [-S series] [--print]
	      [-T tmpdir] [-L lockFile] [--unlockBeforeDel] 
	      [--exceptDirs dir1,dir2,dir3] [--contExceptDirsErr]
	      [--includeDirs dir1,dir2,dir3]
	      [--exceptRule rule] [--includeRule rule]
	      [--exceptTypes types] [--cpIsGnu] [--linkSymlinks]
	      [--precommand job] [--postcommand job]
             [--followLinks depth] [--highLatency]
	      [--ignorePerms] [--lateLinks [--lateCompress]]
	      [--checkBlocksSuffix rule] [--checkBlocksMinSize size]
	      [--checkBlocksBS]
             [--checkBlocksRule0 rule [--checkBlocksBS0 size]
              [--checkBlocksCompr0] [--checkBlocksRead0 filter]
              [--checkBlocksParallel0]]
             [--checkBlocksRule1 rule [--checkBlocksBS1 size]
              [--checkBlocksCompr1] [--checkBlocksRead1 filter]
              [--checkBlocksParallel1]]
             [--checkBlocksRule2 rule [--checkBlocksBS2 size]
              [--checkBlocksCompr2] [--checkBlocksRead2 filter]
              [--checkBlocksParallel2]]
             [--checkBlocksRule3 rule [--checkBlocksBS3 size]
              [--checkBlocksCompr3] [--checkBlocksRead3 filter]
              [--checkBlocksParallel3]]
             [--checkBlocksRule4 rule [--checkBlocksBS4 size]
              [--checkBlocksCompr4] [--checkBlocksRead4 filter]
              [--checkBlocksParallel4]]
             [--checkDevices0 list [--checkDevicesDir0]
              [--checkDevicesBS0] [checkDevicesCompr0]
              [--checkDevicesParallel0]]
             [--checkDevices1 list [--checkDevicesDir1]
              [--checkDevicesBS1] [checkDevicesCompr1]
              [--checkDevicesParallel1]]
             [--checkDevices2 list [--checkDevicesDir2]
              [--checkDevicesBS2] [checkDevicesCompr2]
              [--checkDevicesParallel2]]
             [--checkDevices3 list [--checkDevicesDir3]
              [--checkDevicesBS3] [checkDevicesCompr3]
              [--checkDevicesParallel3]]
             [--checkDevices4 list [--checkDevicesDir4]
              [--checkDevicesBS4] [checkDevicesCompr4]
              [--checkDevicesParallel1]]
	      [--checkDevicesBS4 size] [--checkDevicesCompr4]
	      [--saveRAM] [-c compress] [-u uncompress] [-p postfix]
	      [--noCompress number] [--queueCompress number]
	      [--noCopy number] [--queueCopy number]
	      [--withUserGroupStat] [--userGroupStatFile filename]
	      [--exceptSuffix suffixes]	[--addExceptSuffix suffixes]
	      [--minCompressSize size] [--comprRule]
	      [--doNotCompressMD5File] [--chmodMD5File] [-v]
	      [-d level][--progressReport number] [--printDepth]
	      [--ignoreReadError] [--suppressWarning key] [--linkToRecent name]
	      [--doNotDelete] [--deleteNotFinishedDirs]
	      [--resetAtime] [--keepAll timePeriod] [--keepWeekday entry]
	      [[--keepFirstOfYear] [--keepLastOfYear]
	       [--keepFirstOfMonth] [--keepLastOfMonth]
	       [--firstDayOfWeek day] [--keepFirstOfWeek] [--keepLastOfWeek]
	       [--keepDuplicate] [--keepMinNumber] [--keepMaxNumber]
	        | [--keepRelative] ]
	      [-l logFile
	       [--plusLogStdout] [--suppressTime] [-m maxFilelen]
	       [[-n noOfOldFiles] | [--saveLogs]]
	       [--compressWith compressprog]]
	      [--logInBackupDir [--compressLogInBackupDir]
	       [--logInBackupDirFileName logFile]]
	      [otherBackupSeries ...]

You have to set at least two options: --sourceDir and --backupDir. It doesn't matter if you set them on the command line, in the configuration file or mixed.

Options which can be used only on command line. There is always a long option (like --file) and sometimes also a shortcut (-f).

--help
Generate a long help message with a short description of all options.
--generate / -g
Generate a template for a configuration file. After generation, you can edit it with the editor of your choice. It is recommended to use the configuration file if you want to configure more than a simple backup.
--print
Print the options used (from command line and from the configuration file) and stop after printing the options. In case of difficult quoting (especially on the command line) this gives you the chance to see what's really used in the program.
--file / -f
Name of the configuration file you want to use when calling storeBackup.pl for a backup run.



Subsections
next up previous contents
Next: storeBackup.pl Options Up: Components / Programs to Previous: Supported Platforms   Contents
Heinz-Josef Claes 2009-07-18