[Bulk] Re: Backup with rsync problem

William Case billlinux at rogers.com
Mon May 5 05:02:20 UTC 2008


Hi g;

On Mon, 2008-05-05 at 04:04 +0000, g wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> William Case wrote:
> >  Hi;  I have just discovered to my chagrin that my rsync backup script
> > has not being updating my dot files (/.foo). 
> > 
> >  My script is 'rsync -auH --del
> > --filter=-_/home/bill/.dbus /home/bill/ /backup/bill/'.
	      ^ a typo 

/home/bill/ is on sdb8 while /backup/bill/ is mounted on sda5
(LABEL=backup)

Unless I missed something, they should be different names as far as
rsync is concerned.
>   
> > 
> > What should it be?
> > 
> > Regards Bill
> > 
> 
> this is one [shortest] of many rsync scripts that has been working along with
> rest over several years.
> 
> #!/bin/sh
> ###	 fn=	rs.hda1
> ##	use=	run rsync backup of hda6 to hda1
> echo "syncing hda6 to hda1"
> rsync -a -u -v /hd/a/06/ /hd/a/01/ > /hd/a/00-rs.syoa.`date +%Y.%m%d.%H%M.%S`
> 
My rsync doesn't seem much different. Your -v is verbose, my -H is a
hard link -- (probably don't need it).

> i am curious as to your '--filter=' as you are showing '-_' before filter path,
> and you are directing source to destination of *same name*. this in it self can
> cause you problems as they are same, therefore they are already synced.
> 
> you should try a different destination.
> 
> hth. good luck.
[SNIP]




More information about the fedora-list mailing list