STOREBA...KBACKUP(1)

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

πŸ’– NAME πŸ’–

okay bestie, welcome to the STOREBA...KBACKUP(1) page β€” User Contributed Perl Documentation edition, no cap. This is all about storeBackupCheckBackup.pl, and its whole gig is: checks if a file in the backup is missing or corrupted. That's the assignment. Periodt. ✨


✨ SYNOPSIS ✨

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

πŸ¦‹ DESCRIPTION πŸ¦‹

So the tool is intended to find files in the source that might have changed over time without the user's interaction or knowledge β€” bit rot is the example, and honestly, the way that is so sneaky. 😭

It calculates md5 sums from the files in the backup and compares them with md5 sums stored by storeBackup.pl. That's how it recognizes if a file in the backup is missing or corrupted. It only checks plain files, not special files or symbolic links β€” so no extra detective work on the weird stuff. πŸ’…


πŸŽ€ OPTIONS πŸŽ€

Here's the full option menu, every single one, because we do not skip. 🫢

  • --print β€” print configuration parameters and stop. Cute little peek, then bye.
  • --checkDir, -c β€” backup or top of backups to check. This is the backupDir from the synopsis, bestie.
  • --backupRoot, -b β€” root of storeBackup tree, normally not needed. It's giving advanced-mode energy.
  • --verbose, -v β€” generate statistics. Numbers! Receipts! ✨
  • --parJobs, -p β€” number of parallel jobs, default = chosen automatically. She multitasks on her own. πŸ’…
  • --lastOfEachSeries β€” only check the last backup of each series found. Main character backups only, no reruns.
  • --includeRenamedBackups, -i β€” include renamed backups into the check. Renamed backups must follow the convention <backupDir>-<something>. Iykyk, follow the naming law. πŸŽ€
  • --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). 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.
  • --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) 2008-2022 by Heinz-Josef Claes (see README). Published under the GNU General Public License v3 or any later version.

This page came from perl v5.34.0, dated 2022-04-05. Byeee, bestie πŸ«ΆπŸ’–

πŸ“¦ where this page comes from