Scroll to navigation

STOREBACKUPCHECKBACKUP(1) User Contributed Perl Documentation STOREBACKUPCHECKBACKUP(1)

NAME

storeBackupCheckBackup.pl - checks if a file in the backup is missing or corrupted

SYNOPSIS

        storeBackupCheckBackup.pl -c backupDir [-p number] [-i]
              [-w filePrefix] [--lastOfEachSeries] 
              [--includeRenamedBackups] [-T tmpdir]
              [--logFile
               [--plusLogStdout] [--suppressTime] [-m maxFilelen]
               [[-n noOfOldFiles] | [--saveLogs]]

DESCRIPTION

The tool is intended to find files in the source that might have changed over time without the users interaction or knowledge, for example by bit rot.

IT calculates md5 sums from the files in the backup and compares them with md5 sums stored by storeBackup.pl. It so will recognize, if a file in the backup is missing or currupted. It only checks plain files, not special files or symbolic links.

OPTIONS

    print configuration parameters and stop
    
    backup or top of backups to check
    
    root of storeBackup tree, normally not needed
    
    generate statistics
    
    number of parallel jobs, default = chosen automatically
    
    only check the last backup of each series found
    
    include renamed backups into the check renamed backups must
    follow the convention <backupDir>-<something>
    
    directory for temporary files, default is </tmp>
    
    write filenames with detected faults in regular files for
    later bug fixing (not automated)
    parameter to this option is a file prefix
    eg. if the file prefix is '/tmp/bugsB-', the following files are
    generated:
    /tmp/bugsB-files.missing.txt
    /tmp/bugsB-md5sums.missing.txt
    /tmp/bugsB-md5sums.wrong.txt
    if you change option tmpdir to something else, this value will be
    used here instead of /tmp
    
    logFile, Default: stdout
    
    if you specify a log file with --logFile you can
    additionally print the output to STDOUT with this flag
    
    suppress output of time in logfile
    
    maximal length of log file, default = 1e6
    
    number of old log files, default = 5
    
    save log files with date and time instead of deleting the
    old (with [-noOfOldFiles])
    
    compress saved log files (e.g. with 'gzip -9').
    default is 'bzip2'
    

COPYRIGHT

Copyright (c) 2008-2022 by Heinz-Josef Claes (see README) Published under the GNU General Public License v3 or any later version

2022-04-05 perl v5.34.0