Scroll to navigation

STOREBACKUPCHECKSOURCE(1) User Contributed Perl Documentation STOREBACKUPCHECKSOURCE(1)

NAME

storeBackupCheckSource.pl - compares unchaged files in source with their
md5 sums in the backup

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.

If a file is unchanged (same ctime, mtime, size) in the source directory compared to the backup, it:

- prints an ERROR message if the md5 sum differs

- prints a WARNING if permissions, uid or gid differs

- prints MISSING if file is not in the source directory (option -v)

- prints INFO if file is identical (option -v)

SYNOPSIS

    storeBackupCheckSource.pl -s sourceDir -b singleBackupDir [-v]
              [-w filePrefix]
              [--logFile
               [--plusLogStdout] [--suppressTime] [-m maxFilelen]
               [[-n noOfOldFiles] | [--saveLogs]]

OPTIONS

    source directory of backup when running storeBackup.pl
    
    directory of the backup to compaire sourceDir with
    this must be *one* single backup directory
    (eg. 2012.08.08_02.00.11)
    
    also print positive messages (file is identical in source and backup)
    
    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/bugsS-', the following files are
    generated:
    /tmp/bugsS-files.missing.txt
    /tmp/bugsS-md5sums.wrong.txt
    
    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) 2012-2022 by Heinz-Josef Claes (see README). Published under the GNU General Public License v3 or any later version

2022-03-20 perl v5.34.0