[Novalug] Problems with rsync

James Ewing Cottrell 3rd JECottrell3@Comcast.NET
Wed Jan 12 00:19:42 EST 2011


  The other guys have mentioned the possible SMB/CIFS mismatch, but even 
on pure UNIX/Linux systems sometimes
rsync gets confused, especially on large transfers.

Repeating the command usually picks up where it left off.

JIM

On 1/3/2011 11:07 PM, John Christopher wrote:
> Happy new year!
>
> I'm trying to use rsync to backup my laptop
> to a NAS box.  Here is my backup script:
>
> $ cat backup.txt
>
> smbclient -L 192.168.2.77 -U%
> smbmount //192.168.2.77/john       /mnt/smb
> rsync -vax /home       /mnt/smb/rsync/laptop/home
> rsync -vax /var/www    /mnt/smb/rsync/laptop/var/www
> rsync -vax /etc        /mnt/smb/rsync/laptop/etc
>
> I run the backup script with:
>
> $ sudo sh backup.txt
>
> The files from my laptop get copied to the NAS,
> but all the files and directories have an owner
> and group of 501, and the timestamps are all set
> to the date and time they were copied to the NAS.
> Also, I see lots of errors like:
>
> rsync: failed to set times on "filename": Invalid argument (22)
>
> If I re-run the script without changing any files
> on the laptop, all the files get copied to the NAS
> again.
>
> I am using Ubuntu 10.10 on my laptop.
> The NAS (D-LINK DNS-323) is connected to my
> wifi router with an ethernet cable, and the
> laptop is connected to the router via wifi.
>
> Any idea what I'm doing wrong?
>
> Thanks for your help.
>
>
>
>
> _______________________________________________
> Novalug mailing list
> Novalug@calypso.tux.org
> http://calypso.tux.org/mailman/listinfo/novalug
>
>
>
> No virus found in this incoming message.
> Checked by AVG - www.avg.com
> Version: 9.0.872 / Virus Database: 271.1.1/3357 - Release Date: 01/03/11 14:34:00
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.firemountain.net/pipermail/novalug/attachments/20110112/310b56fa/attachment.htm>


More information about the Novalug mailing list