1RDIFF-BACKUP-STATISTICS(1)       User Manuals       RDIFF-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] [--mini‐
10       mum-ratio ratio] [--null-separator] [--quiet] repository
11
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 ex‐
24       plained in the FAQ included in the package, and also at  https://rdiff-
25       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  di‐
35       rectory would always be the largest, and the output would be boring.
36
37

OPTIONS

39       --begin-time time
40              Do  not  read statistics files older than time.  By default, all
41              statistics files will be read.  time should be in the same  for‐
42              mat  taken  by --restore-as-of.  (See TIME FORMATS in the rdiff-
43              backup man page for details.)
44
45       --end-time time
46              Like --begin-time but exclude statistics files later than time.
47
48       --minimum-ratio ratio
49              Print all directories contributing more than the given ratio  to
50              the total.  The default value is .05, or 5 percent.
51
52       --null-separator
53              Specify that the lines of the file_statistics file are separated
54              by nulls (\0).  The default is to assume that newlines separate.
55              Use  this switch if rdiff-backup was run with the --null-separa‐
56              tor when making the given repository.
57
58       --quiet
59              Suppress printing of the "Processing statistics from session..."
60              output lines.
61
62

BUGS

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

AUTHOR

70       Ben Escoto <ben@emerose.org>, based on original script by Dean Gaudet.
71
72

SEE ALSO

74       rdiff-backup(1),   python(1).    The   rdiff-backup   web  page  is  at
75       https://rdiff-backup.net/.
76
77
78
79Version 2.0.5                    January 2022       RDIFF-BACKUP-STATISTICS(1)
Impressum