BACKUP-STATISTICS(1)

NAME
backup-statistics - manual page for backup-statistics 2.2.4

SYNOPSIS
backup-statistics [OPTION]

DESCRIPTION
Search and tidy duplicate and not-hardlinked files in the backups.

With no options, tidy up all backups. THIS CAN BE VERY TIME CONSUMING.

Mandatory arguments to long options are mandatory for short options too.

-d, --dummy
    only generate lists, do not modify backupfiles

-m, --max=maxNum
    stop execution after step maxNum

-p, --paranoid
    test for file differences before relinking (test _should_ be obsolete)

-s, --skip=skipNum
    skip first skipNum steps

--help
    display this help and exit

--version
    display version and exit

the executed steps are:

    1. generate lists $filename -> $inode

    2. sort previous lists by $inode

    3. generate lists $inode -> $count, $contentHash

    4. sort previous lists by $contentHash

    5. generate sorted lists of groups of inodes with the same hashes

    6. find files to inodes of previous lists

    7. relink files with different inodes and same hashes

CONFIG
The configfile /etc/backup.conf is a bash script, which defines the following variables:

excludes
    array of paths to exclude from backup

backups
    array with command line arguments for predefined backups for backup

maxWait
    maximum time to wait for destination directories to appear in last-backups and backup-statistics [seconds]

outdatedLimit
    time before backups are considered outdated by last-backups [seconds]

recognSubdirRegex
    regular expression of subdirectories which should be appended to the parent directory in the report by last-backups

cacheDir
    directory to store valuable information generated by backup-statistics in

FILES
/etc/backup.conf

AUTHOR
Erich Eckner <opensource at eckner dot net>.

SEE ALSO
hardlinked-backup(1), last-backups(1), remove-old-backups(1)