STOREBA...KSOURCE(1)

πŸ“¦ version 3.5.2, in nixos 26.05, nixpkgs unstable, opensuse-leap 16.0

πŸ’– NAME πŸ’–

Okay so welcome to STOREBA...KSOURCE(1) β€” the User Contributed Perl Documentation page for storeBackupCheckSource.pl πŸ’…. Short version: it compares unchaged files in source with their md5 sums in the backup. Yes, the page spells it β€œunchaged” β€” keeping that exact spelling, no cap ✨.

🌸 DESCRIPTION 🌸

Bestie, this 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’s giving quiet little detective energy.

If a file is unchanged (same ctime, mtime, size) in the source directory compared to the backup, then 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 πŸ‘‘

  • --sourceDir, -s β€” source directory of backup when running storeBackup.pl πŸŽ€
  • --singleBackupDir, -b β€” directory of the backup to compaire sourceDir with. This must be one single backup directory (eg. 2012.08.08_02.00.11) πŸ’…
  • --verbose, -v β€” also print positive messages (file is identical in source and backup) ✨
  • --wrongFileTables, -w β€” write filenames with detected faults in regular files for later bug fixing (not automated). The 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, -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' πŸ¦‹

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


Cute sign-off: source/version is perl v5.34.0, date is 2022-03-20, and the manual title is STOREBA...KSOURCE(1) β€” bye bestie, go check those files! πŸŒˆπŸ’–

πŸ“¦ where this page comes from