1RDIFF-BACKUP-STATISTICRSd(i1f)f-Backup-Statistics Manual 2R.D2I.F2F-BACKUP-STATISTICS(1)
2
3
4

NAME

6       rdiff-backup-statistics - summarize rdiff-backup statistics files
7

SYNOPSIS

9       rdiff-backup-statistics [--begin-time time] [--end-time time]
10       [--minimum-ratio ratio] [--null-separator] [--quiet] [-h|--help]
11       [-V|--version] repository
12

DESCRIPTION

14       rdiff-backup-statistics reads the matching statistics files in a backup
15       repository made by rdiff-backup and prints some summary statistics to
16       the screen. It does not alter the repository in any way.
17
18       The required argument is the pathname of the root of an rdiff-backup
19       repository. For instance, if you ran 'rdiff-backup in out', you could
20       later run 'rdiff-backup-statistics out'.
21
22       The output has two parts. The first is simply an average of the all
23       matching session_statistics files. The meaning of these fields is
24       explained in the FAQ included in the package, and also at
25       https://rdiff-backup.net/docs/FAQ.html#statistics
26
27       The second section lists some particularly significant files (including
28       directories). These files are either contain a lot of data, take up
29       increment space, or contain a lot of changed files. All the files that
30       are above the minimum ratio (default 5%) will be listed.
31
32       If a file or directory is listed, its contributions are subtracted from
33       its parent. That is why the percentage listed after a directory can be
34       larger than the percentage of its parent. Without this, the root
35       directory would always be the largest, and the output would be boring.
36

OPTIONS

38       --begin-time time
39           Do not read statistics files older than time. By default, all
40           statistics files will be read. time should be in the same format
41           taken by --restore-as-of. (See TIME FORMATS in the rdiff-backup man
42           page for details.)
43
44       --end-time time
45           Like --begin-time but exclude statistics files later than time.
46
47       -h, --help
48           Output a short usage description and exit.
49
50       --minimum-ratio ratio
51           Print all directories contributing more than the given ratio to the
52           total. The default value is .05, or 5 percent.
53
54       --null-separator
55           Specify that the lines of the file_statistics file are separated by
56           nulls ('\0'). The default is to assume that newlines separate. Use
57           this switch if rdiff-backup was run with the --null-separator when
58           making the given repository.
59
60       --quiet
61           Suppress printing of the ‘Processing statistics from session...’
62           output lines.
63
64       -V, --version
65           Output full path to command and version then exit.
66

BUGS

68       When aggregating multiple statistics files, some directories above (but
69       close to) the minimum ratio may not be displayed. For this reason, you
70       may want to set the minimum-ratio lower than need.
71

AUTHOR

73       Ben Escoto ben@emerose.org, based on original script by Dean Gaudet.
74

SEE ALSO

76       rdiff-backup(1), python(1). The rdiff-backup web page is at
77       https://rdiff-backup.net/
78
79
80
81rdiff-backup-statistics          December 2022      RDIFF-BACKUP-STATISTICS(1)
Impressum