Hi there.

I have often found when trying to sync files with whatever pice of software I 
have had problems with permisions (can't read or write file) and also some file 
names giving errors many programs have not liked files with spaces and other 
punctionation. 

Some things I would try:-

First check the permisions of all the files in the directory with a command like

chmod -r user:group *    Change as apropate

Secound try finding and copying manualy files like the one (.nmw........)  in 
this e-mail before running rsync
(Invalid argement 22) looks as if the file name is not compatabale with this 
program (I may be wrong)

Have you tryed not using the --modify-window=1

Dous this help?



On 10 Dec 2009, at 19:39, Martin Nix wrote:

> 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 <e.k...@plumbline.org.uk>
> 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
> Peterboro@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/peterboro
> 
> _______________________________________________
> Peterboro mailing list
> Peterboro@mailman.lug.org.uk
> https://mailman.lug.org.uk/mailman/listinfo/peterboro

_______________________________________________
Peterboro mailing list
Peterboro@mailman.lug.org.uk
https://mailman.lug.org.uk/mailman/listinfo/peterboro

Reply via email to