From bc37bac1cd2a9f31dc4f09d66010394735abcd34 Mon Sep 17 00:00:00 2001 From: ben Date: Thu, 5 Sep 2002 08:11:58 +0000 Subject: Various modifications (see CHANGELOG) git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/trunk@188 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109 --- rdiff-backup/CHANGELOG | 8 +++++ rdiff-backup/TODO | 12 ++++++++ rdiff-backup/rdiff-backup.1 | 72 +++++++++++++++++++++++++++++++++++++-------- 3 files changed, 80 insertions(+), 12 deletions(-) diff --git a/rdiff-backup/CHANGELOG b/rdiff-backup/CHANGELOG index c04d80f..504db99 100644 --- a/rdiff-backup/CHANGELOG +++ b/rdiff-backup/CHANGELOG @@ -8,6 +8,14 @@ Fixed another bug reported by Phillip Eby, where restores would fail if rdiff-backup had only been run once and no increments were available. +A few man page additions regarding restoring, statistics, and +--test-server (thanks to Gregor Zattler, Christopher Schanzle, and +Tobias Polzin for suggestions). + +Fixed comparison bug where rdiff-backup would unnecessarily report a +directory as changed when its source size differed from its mirror +size. Thanks to Tim Allen for report. + New in v0.9.5 (2002/08/09) -------------------------- diff --git a/rdiff-backup/TODO b/rdiff-backup/TODO index 9598cdf..edeb113 100644 --- a/rdiff-backup/TODO +++ b/rdiff-backup/TODO @@ -1,5 +1,17 @@ Write some better selection test cases to test new Iterate_fast func. +---------[ Medium term ]--------------------------------------- + +Add --dry-run option (target for v1.1.x) + +Add # of increments option to --remove-older-than + +Restore only changed files + +Make argument shortcut for cstream + +Make --calculate-averages work with directory_statistics file. + ---------[ Long term ]--------------------------------------- Think about adding Gaudet's idea for keeping track of renamed files. diff --git a/rdiff-backup/rdiff-backup.1 b/rdiff-backup/rdiff-backup.1 index cc0513b..87e0c25 100644 --- a/rdiff-backup/rdiff-backup.1 +++ b/rdiff-backup/rdiff-backup.1 @@ -15,17 +15,22 @@ rdiff-backup \- local/remote mirror and incremental backup .B rdiff-backup --calculate-average .I statfile1 statfile2 ... +.B rdiff-backup --test-server +.BI [ user1 ] @host1.net1 :: path +.BI [[ user2 ] @host2.net2 :: path ] +.I ... + .SH DESCRIPTION .B rdiff-backup is a script, written in .BR python (1) that backs up one directory to another. The target directory ends up -a copy of the source directory, but extra reverse diffs are stored in -the target directory, so you can still recover files lost some time -ago. The idea is to combine the best features of a mirror and an -incremental backup. rdiff-backup also preserves symlinks, special -files, hardlinks, permissions, uid/gid ownership (if it is running as -root), and modification times. +a exacty copy (mirror) of the source directory, but extra reverse +diffs are stored in the target directory, so you can still recover +files lost some time ago. The idea is to combine the best features of +a mirror and an incremental backup. rdiff-backup also preserves +symlinks, special files, hardlinks, permissions, uid/gid ownership (if +it is running as root), and modification times. .B rdiff-backup can also operate @@ -40,6 +45,11 @@ is installed in the user's PATH on the remote system. For information on other options, see the section on .B REMOTE OPERATION. +Note that you +.B should not write to the mirror directory +except with rdiff-backup. Many of the increments are stored as +reverse diffs, so if you delete or modify a file, you may lose the +ability to restore previous versions of that file. .SH OPTIONS .TP @@ -122,8 +132,8 @@ See the section for more information. .TP .B --force -Authorize overwriting of a destination directory. rdiff-backup will -generally tell you if it needs this. +Authorize the updating or overwriting of a destination path. +rdiff-backup will generally tell you if it needs this. .TP .BI "--include " shell_pattern Similar to @@ -194,7 +204,7 @@ Use nulls (\\0) instead of newlines (\\n) as line separators, which may help when dealing with filenames containing newlines. This affects the expected format of the files specified by the --{include|exclude}-filelist[-stdin] switches as well as the format of -the directory_statistics file. +the directory statistics file. .TP .B --parsable-output If set, rdiff-backup's output will be tailored for easy parsing by @@ -208,7 +218,9 @@ switches. .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.