From b9d13d3edcfde86ff43abaff7007d22630e5641a Mon Sep 17 00:00:00 2001 From: bescoto Date: Mon, 12 Dec 2005 04:41:19 +0000 Subject: Update --remove-older-than and --force git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup/branches/r1-0@705 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109 --- rdiff-backup/rdiff-backup.1 | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/rdiff-backup/rdiff-backup.1 b/rdiff-backup/rdiff-backup.1 index 15e1c7d..477e3e5 100644 --- a/rdiff-backup/rdiff-backup.1 +++ b/rdiff-backup/rdiff-backup.1 @@ -166,7 +166,10 @@ Exclude all socket files. Exclude all symbolic links. .TP .B --force -Authorize the updating or overwriting of a destination path. +Authorize a more drastic modification of a directory than usual (for +instance, when overwriting of a destination path, or when removing +multiple sessions with +.BR --remove-older-than ). rdiff-backup will generally tell you if it needs this. .TP .BI "--group-mapping-file " filename @@ -350,8 +353,15 @@ hours, and 7 seconds. In this context, a month means 30 days, a year is 365 days, and a day is always 86400 seconds. rdiff-backup cannot remove-older-than and back up or restore in a -single session. If you want to, for instance, backup a directory and -remove old files in it, you must run rdiff-backup twice. +single session. In order to both backup a directory and remove old +files in it, you must run rdiff-backup twice. + +By default, rdiff-backup will only delete information from one session +at a time. To remove two or more sessions at the same time, supply the +.B --force +option (rdiff-backup will tell you if +.B --force +is required). Note that snapshots of deleted files are covered by this operation. Thus if you deleted a file two weeks ago, backed up immediately -- cgit v1.2.1