Hi,
After I have removed some files from the backup computer with the command
find /home/user/.Maildir/.Spam/* -mtime +30 -type f -exec rm "{}" \;
does the command:
rsync -av -e "ssh -l root" host:/home/* /home
create many duplicates.
What I expect is for it to just "restore" the backup to what it was
like before.
I'm using rsync version 2.6.3 and redhat8.
Any ideas?
Best regards
/jon
--
Jon Essen-M?ller
+46 8 708 793333
On Thu 14 Apr 2005, Jon Essen-Moller wrote:> > After I have removed some files from the backup computer with the command > > find /home/user/.Maildir/.Spam/* -mtime +30 -type f -exec rm "{}" \; > > does the command: > > rsync -av -e "ssh -l root" host:/home/* /home > > create many duplicates.Does it create those duplicates in the /home/user/.Maildir/.Spam/ directory, or elsewhere? BTW, I'd use: rsync -av -e "ssh -l root" host:/home/ /home Let rsync take care of the recursion, as you've given it the -a option.> What I expect is for it to just "restore" the backup to what it was > like before.So would I, so I'd be interested in seeing what files are duplicated where. Paul Slootman
On Thu, Apr 14, 2005 at 05:40:25PM +0200, Jon Essen-Moller wrote:> rsync -av -e "ssh -l root" host:/home/* /homeI would imagine that those duplicates also exist on the backup server (unless that edited rsync command is inaccurate in some significant way). ..wayne..