Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Rsync error

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
User avatar
Humbletech99
Posts: 365
Joined: 2005-12-29 00:03

Rsync error

#1 Post by Humbletech99 »

Hi,
I'm using rsync to backup by home dir to another machine that has been mounted rw via smbfs, but there seems to always be some error. The files do seem to be backed up though. The error is:

Code: Select all

/usr/bin/rsync -av --del /home/user /mounted/smbfs/drive

...list of files...

sent 4043287 bytes  received 29562 bytes  142906.98 bytes/sec
total size is 7179491  speedup is 1.76
rsync error: some files could not be transferred (code 23) at main.c(791)
Does anybody know why this is and how to fix it?

User avatar
dawgie
Posts: 430
Joined: 2004-06-16 21:30
Location: New Hampshire USA

#2 Post by dawgie »

Maybe
--progress
could help find the problem. If both the filesystems are not Linux, then the ownership/permissions/symlinks can not be preserved.

I have been using:
rsync -auvz --progress /source/ /destination/

User avatar
dawgie
Posts: 430
Joined: 2004-06-16 21:30
Location: New Hampshire USA

#3 Post by dawgie »

Maybe
--progress
could help find the problem. If both the filesystems are not Linux, then the ownership/permissions/symlinks can not be preserved.

I have been using:
rsync -auvz --progress /source/ /destination/

Jeroen
Debian Developer, Site Admin
Debian Developer, Site Admin
Posts: 483
Joined: 2004-04-06 18:19
Location: Utrecht, NL
Contact:

#4 Post by Jeroen »

In the list of files, you'll see also mentioned one or more files that fail. You probably don't see it because you've got a lot of files. Simply drop the -v to only see the errors

Post Reply