next up previous contents
Next: storeBackupMount.pl Up: Components / Programs to Previous: storeBackupls.pl   Contents


storeBackupDel.pl

storeBackupDel.pl deletes old backups regarding the rules you defined. These rules (keep$*$) are described as options of storeBackup.pl. You should configure storeBackup.pl with a configuration file and read this configuration file with storeBackupDel.pl if you want to delete old backups asynchronously from the backup itself (see also Example 6, section 6.7).

      $prog [-f configFile] [--print]
       [-b backupDirectory] [-S series] [--doNotDelete]
       [--deleteNotFinishedDirs] [-L lockFile]
       [--keepAll timePeriod] [--keepWeekday entry] [--keepFirstOfYear]
       [--keepLastOfYear] [--keepFirstOfMonth] [--keepLastOfMonth]
       [--keepFirstOfWeek] [--keepLastOfWeek]
       [--keepDuplicate] [--keepMinNumber] [--keepMaxNumber]
       [-l logFile
        [--plusLogStdout] [--suppressTime] [-m maxFilelen]
        [[-n noOfOldFiles] | [--saveLogs]
        [--compressWith compressprog]]

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

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

--print
Prints the options used (from command line and from the configuration file) and stops 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.
--configFile / -f
Name of the configuration file you want to use.

You can easily overwrite options in the configuration file (especially changing backupDir and unsetting doNotDelete) on the command line. See also configuration file and command line.
The following parameters are identical to the ones in storeBackup.pl:


next up previous contents
Next: storeBackupMount.pl Up: Components / Programs to Previous: storeBackupls.pl   Contents
Heinz-Josef Claes 2009-07-18