Re: Backup with rsync problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----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/'.  
> 
> 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`

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.

- --

tc,hago.

g
.


without fences, who needs gates.
- --.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mandriva - http://enigmail.mozdev.org

iD8DBQFIHodHQCGYa6nWX2MRAqUwAJ93FtK+F6iwWTxuX1zta+gfHYoFZgCcCrnv
8bf0g8xPLdDFuRVMV4fGtn0=
=9KW9
-----END PGP SIGNATURE-----

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux