rdiff-backup question

Maxime Alarie malarie at processia.com
Thu Aug 12 13:10:12 UTC 2010



From: ubuntu-users-bounces at lists.ubuntu.com
[mailto:ubuntu-users-bounces at lists.ubuntu.com] On Behalf Of Maxime
Sent: 11 August 2010 10:20
To: Ubuntu user technical support,not for general discussions
Subject: rdiff-backup question


Hello all,



I am reading about rdiff-backup. I am using it in a simple way,
(rdiff-backup $source  $target)  but I would like to make sure all those
incremental backups are not eating up all my space. So I want to put
into place the --remove-older-than option. I read about that option, but
im not sure I understand it completely.



This section assumes that rdiff-backup has been used in the past to back
up tohost.net::/remote-dir, but all commands would work locally too, if
the hostname were ommitted.

*	This commands deletes all information concerning file versions
which have not been current for 2 weeks:

rdiff-backup --remove-older-than 2W host.net::/remote-dir

Note that an existing file which hasn't changed for a year will still be
preserved. But a file which was deleted 15 days ago cannot be restored
after this command is run.




As I understand  the example, rdiff-backup --remove-older-than 2W
host.net::/remote-dir means  I should run the normal backup command with
the option -remove-older-than 2W and  by  doing so, the 2 weeks+   files
in the  target repo will be deleted? Or I  have to run that command in
my  target dir only?





Bump J

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100812/85fb4669/attachment.html>

More information about the ubuntu-users mailing list