SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
rsnapshot not removing deleted files
Author Message
Post rsnapshot not removing deleted files 
Hello.

Please reply to me directly; I am not subscribed to this list.

I've been using rsnapshot 1.2 for a year or so: Thanks very much for this excellent utility.

I've noticed that my backup trees are full of files that have been deleted from the master (source) a long time ago. I browsed through the docs and looked for command options to rsync to fix this, and tried

--delete-after and --delete and --force

But these seem to have had no effect.

Watching the -v output from rsnapshot, here's an example rsync command line:

/usr/bin/rsync -a --delete-after --force --links --safe-links --delete
--numeric-ids --relative --rsh=/usr/bin/ssh -c blowfish
root < at > 10.0.0.3:/etc/ /mnt/backup/automatic/daily.0/giacometti/

when I simulate the process with a simple directory full of text files and do the rsync manually (with nearly identical parameters) it works perfectly... the files deleted from the source disappear from the backups.

I'm running rsnapshot on Debian/Stable with kernel 2.6.13.

And idea what's going wrong?

Thanks again.

Post rsnapshot not removing deleted files 
Matt,

Have a look at this bug report about rsync
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=317418
and see if it helps.

On Mon, Mar 13, 2006 at 05:00:46PM -0500, Matt Feifarek wrote:

Hello.
Please reply to me directly; I am not subscribed to this list.
I've been using rsnapshot 1.2 for a year or so: Thanks very much for
this excellent utility.
I've noticed that my backup trees are full of files that have been
deleted from the master (source) a long time ago. I browsed through
the docs and looked for command options to rsync to fix this, and
tried
--delete-after and --delete and --force
But these seem to have had no effect.
Watching the -v output from rsnapshot, here's an example rsync command
line:
/usr/bin/rsync -a --delete-after --force --links --safe-links --delete
\
--numeric-ids --relative --rsh=/usr/bin/ssh -c blowfish \
root < at > 10.0.0.3:/etc/ /mnt/backup/automatic/daily.0/giacometti/
when I simulate the process with a simple directory full of text files
and do the rsync manually (with nearly identical parameters) it works
perfectly... the files deleted from the source disappear from the
backups.
I'm running rsnapshot on Debian/Stable with kernel 2.6.13.
And idea what's going wrong?
Thanks again.

--
___________________________________________________________________________
David Keegel <djk < at > cybersource.com.au> http://www.cyber.com.au/users/djk/
Cybersource P/L: Linux/Unix Systems Administration Consulting/Contracting


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB