STOREBA...KBACKUP(1)

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

πŸ’– STOREBA...KBACKUP(1) β€” the storeBackupCheckBackup.pl glow-up ✨

okay bestie, welcome to the manual page for storeBackupCheckBackup.pl, a lil Perl script living in the User Contributed Perl Documentation section, and honestly? she's a whole vibe. πŸ’…


🌸 NAME 🌸

storeBackupCheckBackup.pl β€” literally just checks whether a file in ur backup went missing or got corrupted 🫢


πŸŽ€ SYNOPSIS πŸŽ€

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

no cap, that's the whole shape of it. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea: this tool exists to find files in the source that might have changed over time without the user's interaction or knowledge β€” think bit rot, the sneakiest little gremlin around. 😭

It calculates md5 sums from the files in the backup and compares them with md5 sums stored by storeBackup.pl. That way it'll recognize if a file in the backup is missing or currupted. πŸ’€

heads up: it only checks plain files. not special files, not symbolic links. periodt.

🌈 OPTIONS 🌈

  • --print β€” print the configuration parameters and then stop. that's it, that's the whole job 🫢
  • --checkDir, -c β€” the backup (or the top of the backups) you wanna check πŸ‘‘
  • --backupRoot, -b β€” root of the storeBackup tree. normally you don't need it, so don't stress πŸ’…
  • --verbose, -v β€” generate statistics. numbers! stats! iconic πŸ“Š
  • --parJobs, -p β€” number of parallel jobs. default = chosen automatically, because she's independent like that ✨
  • --lastOfEachSeries β€” only check the last backup of each series found, keep it fresh 🌸
  • --includeRenamedBackups, -i β€” include renamed backups into the check. renamed backups must follow the convention <backupDir>-<something> πŸŽ€
  • --tmpdir, -T β€” directory for temporary files. default is </tmp> 🧚
  • --wrongFileTables, -w β€” write filenames with detected faults in regular files, for later bug fixing (not automated, bestie, you gotta do that part urself πŸ™ˆ). the 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, -l β€” logFile. Default: stdout πŸ“
  • --plusLogStdout β€” if you specify a log file with --logFile you can additionally print the output to STDOUT with this flag. double the output, double the fun ✨
  • --suppressTime β€” suppress output of time in logfile. sometimes u just don't want the timestamps, we get it πŸ•°οΈ
  • --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]). hoarder behavior, and honestly? valid πŸ’–
  • --compressWith β€” compress saved log files (e.g. with 'gzip -9'). default is 'bzip2' πŸ—œοΈ

Copyright (c) 2008-2022 by Heinz-Josef Claes (see README) Published under the GNU General Public License v3 or any later version. respect the author, bestie, he ate πŸ“œβœ¨


and that's a wrap on the storeBackupCheckBackup.pl page, brought to you by perl v5.40.1 and dated 2026-05-23 🌟 stay un-corrupted, mwah πŸ’‹πŸ¦‹

πŸ“¦ where this page comes from