STOREBA...KSOURCE(1)

πŸ“¦
version 3.5.2 Β· 2 versions
, in ubuntu stonking

🌸 NAME 🌸

storeBackupCheckSource.pl β€” this lil icon compares unchaged files in the source with their md5 sums in the backup πŸ¦‹

iykyk: it's the vibe check for your backup, bestie.


✨ DESCRIPTION ✨

Okay so picture this: this tool exists to hunt down files in your source that might have changed over time without anyone touching them or even knowing about it. Rude, right? Like when bit rot just sneaks in and messes with your files behind your back. 😭

Here's the tea. If a file is unchanged in the source directory compared to the backup β€” same ctime, same mtime, same size β€” then the tool does the following:

  • 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)

So like, same metadata but the md5 says otherwise? That's the bit-rot jump scare. 🫢


πŸŽ€ SYNOPSIS πŸŽ€

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

πŸ’… OPTIONS πŸ’…

  • --sourceDir, -s β€” the source directory of the backup, as in, the one you fed to storeBackup.pl when you ran it πŸ‘‘
  • --singleBackupDir, -b β€” the directory of the backup you wanna compaire sourceDir with. Heads up bestie, this must be one single backup directory (eg. 2012.08.08_02.00.11) β€” one, not a whole stack ✨
  • --verbose, -v β€” also print positive messages, aka "file is identical in source and backup" πŸ₯³ main character behavior, we love a confident file
  • --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. So 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. Best of both worlds, no cap 🌈
  • --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.


πŸ’– And that's the whole page, bestie. Go check those md5 sums. Slay. periodt. ✨

This was STOREBA...KSOURCE(1) from the User Contributed Perl Documentation, brought to you by perl v5.40.1 and dated 2026-05-23 β€” love that for us πŸ§šπŸ’œ

πŸ“¦ where this page comes from