On Fri, May 11, 2007 23:00, gromeck wrote:
On Fri, May 11, 2007 20:44, Yedidyah Bar-David wrote:
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
I am using rsync 2.6.8 and here's what I found in the ChangeLog of
rsync 2.6.9:
- Fixed a recent bug where --delete was not working when transferring
from the root (/) of the filesystem with --relative enabled.
Hmm, this is obviously my problem ...
Ok, I updated to rsync 2.6.9 and *this* problem has
gone. The next problem rises ... to be continuned
in a seperate posting ...
gromeck
-------------------------------------------------------------------------
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
