On Fri, May 11, 2007 at 07:33:05PM +0200, gromeck wrote:
Hi rsnapshotters,
I try to run rsnapshot to backup a server.
I found out, that files which got deleted in
the server will not be deleted in the backup.
The essential of my config file is:
snapshot_root /srv/backup/disk1/backup/
:
backup / bakerman/
In my filesystem I have a directory /bull
which is now empty. There was a file /bull/crap
which got transfered into the backup correctly.
After that I deleted /bull/crap.
When I run "rsnapshot -D sync" now, the file
/bull/crap is not deleted in the backup.
The resulting rsync command from the statement
above is:
/usr/bin/rsync -avx --delete --numeric-ids --relative --delete-excluded \
--exclude=/proc --exclude=/tmp --exclude=/var/tmp --exclude=/media \
--exclude=/mnt --exclude=srv/backup/disk1/backup /. \
/srv/backup/disk1/backup/.sync/bakerman/
I am a little bit confused about this!?
Any ideas?
I had the same problem with '--relative' on some older versions of
rsync, notably the one shipped in Debian Sarge. You might either upgrade
rsync or stop using '--relative'. Note that doing this is not at all
trivial - read carefully the following before doing so:
<http://rsnapshot.org/upgrade/>
Look for the part talking about '--relative'.
--
Didi
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
