I don't have the rsync reference to hand but I always use the switch option
-avzpgt - this will only do changes and preserves permissions and time
stamps

Martin

2009/12/10 Edward Kerr <[email protected]>

> I am having problems with using rsync to backup across my network.
>
>
> Set up is
>
> Ubuntu 9.10 - backing up to a Qnap NAS
>
> The relevant folder on the NAS is mounted by this command in the
> rc.local file
>
> mount -t cifs //192.168.0.9/edward /mnt/edward -o
> username=edward,password=xxxxxxx,uid=edward,gid=edward
>
> The rsync command is:  (runs as me)
>
> rsync -rvt --progress --delete
> --modify-window=1 /home/edward/Documents/ /mnt/edward/Documents/
>
> This runs completely (with some errors - below)  but does not sync.  It
> simply copies all the files each time, deleting as appropriate.
>
> So I do get a BU but whereas it might only take a few seconds if little
> has changed, it takes ages as it copies each and every file!
>
> One of the error messages I get is:
>
> rsync: failed to set times on
> "/mnt/edward/Documents/webs/twointune/site/
> twointune.elementfx.com/logos/.nmw.gif.QyEqWI": Invalid argument (22)
>
> .nmw.gif.QyEqWI is a non existent file!
>
> Any ideas please?
>
> Thanks
>
>
>
>
>
> Ed
>
>
>
> _______________________________________________
> Peterboro mailing list
> [email protected]
> https://mailman.lug.org.uk/mailman/listinfo/peterboro
>
_______________________________________________
Peterboro mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/peterboro

Reply via email to