STOREBACKUPUPDATEBACKUP(1) | User Contributed Perl Documentation | STOREBACKUPUPDATEBACKUP(1) |
NAME¶
storeBackupUpdateBackup.pl - updates / finalizes backups created by storeBackup.pl with option --lateLink, --lateCompress
SYNOPSIS¶
storeBackupUpdateBackup.pl -b backupDirectory [--autorepair] [--print] [--verbose] [--debug] [--lockFile] [--noCompress] [--progressReport number] [--checkOnly] [--copyBackupOnly] [--dontCopyBackup] [-A archiveDurationDeltaCache] [--dontDelInDeltaCache] [--createNewSeries] [--noWarningDiffSeriesInBackupCopy] [--maxHardLinks] [--logFile [--plusLogStdout] [--suppressTime] [-m maxFilelen] [[-n noOfOldFiles] | [--saveLogs]] [--compressWith compressprog]] storeBackupUpdateBackup.pl --interactive --backupDir topLevlDir [--autorepair] [--print] storeBackupUpdateBackup.pl --genBackupBaseTreeConf directory storeBackupUpdateBackup.pl --genDeltaCacheConf directory
WARNING¶
!!! USAGE IN PARALLEL WITH storeBackup.pl CAN DESTROY YOUR BACKUPS !!!
OPTIONS¶
- --interactive, -i
-
interactive mode for reparing / deleting currupted backups created with option '--lateLinks'
- --backupDir, -b
-
top level directory of all backups (must exist)
- --autorepair, -a
-
repair simple inconsistencies automaticly without requesting the action
-
print configuration read from configuration file and stop
- --verbose, -v
-
verbose messages
- --debug, -d
-
generate detailed information about the files with the linking information in it
- --lockFile, -L
-
lock file, if exist, new instances will finish if an old is already running If set to the same file as in storeBackup it will prevent $prog from running in parallel to storeBackup, default is $lockFile this type of lock files does not work across multiple servers and is not designed to separate storeBackup.pl and storeBackupUpdateBackup.pl or any other storeBackup process in a separate PID space Default lock file for root is in /var/lock, for others in \$HOME
- --noCompress
-
maximal number of parallel compress operations, default = choosen automatically
- --checkOnly -c
-
do not perform any action, only check consistency
- --copyBackupOnly
-
only do task to replicate incremental (lateLinks) backup; no hard linking, compression, etc.
- --dontCopyBackup
-
do not do any replication task to copy incremental (lateLink) backups NOTE: if used on the master cache, this option disrupts the data flow for replication!
- --archiveDurationDeltaCache -A
-
Duration after which already in backupCopy copied and linked backups will be deleted. This affects all series in deltacaches processedBackups directory. The duration has to be specified in format 'dhms', eg. 10d4h means 10 days and 4 hours, default is 99d (similar to option keepAll in storeBackupDel.pl)
- --dontDelInDeltaCache do not delete any backup in deltaCache
- --createNewSeries -C
-
Automatically create new series in deltaCache and the replication directory / directories. This is especially useful if you use wildcards to specify series name which should be added 'on the fly'
- --progressReport
-
print progress report:
- --noWarningDiffSeriesInBackupCopy, -N
-
do not write a warning if there is a different set of series inside the backup copy (replication directory) than in the actual deltaCache
- --maxHardLinks
-
maximum number of hard links to use zero (default) means limit depends on file system used only
- --logFile, -l
-
logFile, Default: stdout
- --plusLogStdout
-
if you specify a log file with --logFile you can additionally print the output to STDOUT with this flag
- --suppressTime
-
suppress output of time in logfile
- --maxFilelen, -m
-
maximal length of log file, default = 1e6
- --noOfOldFiles, -n
-
number of old log files, default = 5
- --saveLogs
-
save log files with date and time instead of deleting the old (with [-noOfOldFiles])
- --compressWith
-
compress saved log files (e.g. with 'gzip -9'). default is 'bzip2'
- --genBackupBaseTreeConf
-
generate a template of the backup-copy configuration file for the backup directories (both source and target)
- --genDeltaCacheConf
-
generate a template of the backup-copy configuration file for the deltaCache directory
COPYRIGHT¶
Copyright (c) 2008-2022 by Heinz-Josef Claes. Published under the GNU General Public License v3 or any later version
2022-05-02 | perl v5.34.0 |