From 1d050174970945c986f6c4f1c0b9cf922fd24bc2 Mon Sep 17 00:00:00 2001 From: ben Date: Sat, 25 May 2002 20:38:21 +0000 Subject: Final update of statistics stuff git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@109 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109 --- rdiff-backup/CHANGELOG | 7 +++++++ rdiff-backup/rdiff-backup.1 | 13 ++++++++++++ rdiff-backup/rdiff_backup/header.py | 2 +- rdiff-backup/rdiff_backup/highlevel.py | 17 ++++++++++++++++ rdiff-backup/rdiff_backup/statistics.py | 19 ++++++++++++++++- rdiff-backup/src/globals.py | 11 +++++++++- rdiff-backup/src/hardlink.py | 16 +++++++++------ rdiff-backup/src/header.py | 2 +- rdiff-backup/src/highlevel.py | 17 ++++++++++++++++ rdiff-backup/src/main.py | 36 ++++++++++++++++++++++++--------- rdiff-backup/src/statistics.py | 19 ++++++++++++++++- 11 files changed, 138 insertions(+), 21 deletions(-) (limited to 'rdiff-backup') diff --git a/rdiff-backup/CHANGELOG b/rdiff-backup/CHANGELOG index 8a6ff30..35ac39d 100644 --- a/rdiff-backup/CHANGELOG +++ b/rdiff-backup/CHANGELOG @@ -1,3 +1,10 @@ +New in v0.7.6 (2002/??/??) +-------------------------- + +Improved statistics support, and added --print-statistics and +--calculate-average switches. + + New in v0.7.5 (2002/05/21) -------------------------- diff --git a/rdiff-backup/rdiff-backup.1 b/rdiff-backup/rdiff-backup.1 index c22f662..05deb81 100644 --- a/rdiff-backup/rdiff-backup.1 +++ b/rdiff-backup/rdiff-backup.1 @@ -12,6 +12,9 @@ rdiff-backup \- local/remote mirror and incremental backup .BI "| --remove-older-than " time_interval } .BI [[[ user@ ] host2.foo ]:: destination_directory ] +.B rdiff-backup --calculate-average +.I statfile1 statfile2 ... + .SH DESCRIPTION .B rdiff-backup is a script, written in @@ -45,6 +48,11 @@ on other options, see the section on .B -b, --backup-mode Force backup mode even if first argument appears to be an increment file. .TP +.B --calculate-average +Enter calculate average mode. The arguments should be a number of +statistics files. rdiff-backup will print the average of the listed +statistics files and exit. +.TP .B --change-source-perms If this option is set, rdiff-backup will try to change the mode of any unreadable files or unreadable/unexecutable directories in the source @@ -199,6 +207,11 @@ or .B --list-increments switches. .TP +.B --print-statistics +If set, summary statistics will be printed after a successful backup +If not set, this information will still be available from the +session_statistics.