Discussion:
[rsnapshot-discuss] rsync file partially transferred
Michael Martinell
2005-06-21 12:39:36 UTC
Permalink
I just started to use this product. It appears to run great at the command
line, however in cron I am seeing the following error in backuplog:

[21/Jun/2005:07:34:24] mv /var/www/hourly.3/ /var/www/hourly.4/
[21/Jun/2005:07:34:24] mv /var/www/hourly.2/ /var/www/hourly.3/
[21/Jun/2005:07:34:24] mv /var/www/hourly.1/ /var/www/hourly.2/
[21/Jun/2005:07:34:24] /bin/cp -al /var/www/hourly.0/ /var/www/hourly.1/
[21/Jun/2005:07:34:38] /usr/bin/rsync -a --delete --numeric-ids --relative
--delete-excluded /mnt/galileo/userfiles/
/var/www/hourly.0/galileo/
[21/Jun/2005:07:35:01] Some files and/or directories in
/mnt/galileo/userfiles/ only transferred partially during rsy
nc operation
[21/Jun/2005:07:35:01] /usr/bin/rsync -a --delete --numeric-ids --relative
--delete-excluded /mnt/netlogon/ /var/www/
hourly.0/netlogon/
[21/Jun/2005:07:35:01] touch /var/www/hourly.0/
[21/Jun/2005:07:35:01] rm -f /var/run/rsnapshot.pid
[21/Jun/2005:07:35:01] WARNING: /usr/local/bin/rsnapshot hourly: completed,
but with some warnings

Why did some files only partially transfer during rsync operation? Is there
any way to tell which files? Should I be concerned about this at all?
Nathan Rosenquist
2005-06-22 05:36:53 UTC
Permalink
Hi Michael,

It looks like the warnings came from your /mnt/galileo/userfiles/
directory. I'm guessing (by your other netlogon backup point) that this
is a Samba server. Probably some of your users were modifying files
during the backup.

It should be nothing to worry about. rsync either transfers files
completely, or not at all, so your backups shouldn't be corrupted or
anything.

This also happens a lot on mail servers. The only way to get 100% clean
backups is to kick everyone and everything off the system while they're
happening, which isn't always practical.

If I were you, I'd investigate it, but not lose any sleep over it.

See the other threads recently about rsync output for an explanation of
why it isn't in the log files. If anyone wants to code it, patches are
always welcome :)

Thanks,
-Nathan
Post by Michael Martinell
I just started to use this product. It appears to run great at the command
[21/Jun/2005:07:34:24] mv /var/www/hourly.3/ /var/www/hourly.4/
[21/Jun/2005:07:34:24] mv /var/www/hourly.2/ /var/www/hourly.3/
[21/Jun/2005:07:34:24] mv /var/www/hourly.1/ /var/www/hourly.2/
[21/Jun/2005:07:34:24] /bin/cp -al /var/www/hourly.0/ /var/www/hourly.1/
[21/Jun/2005:07:34:38] /usr/bin/rsync -a --delete --numeric-ids --relative
--delete-excluded /mnt/galileo/userfiles/
/var/www/hourly.0/galileo/
[21/Jun/2005:07:35:01] Some files and/or directories in
/mnt/galileo/userfiles/ only transferred partially during rsy
nc operation
[21/Jun/2005:07:35:01] /usr/bin/rsync -a --delete --numeric-ids --relative
--delete-excluded /mnt/netlogon/ /var/www/
hourly.0/netlogon/
[21/Jun/2005:07:35:01] touch /var/www/hourly.0/
[21/Jun/2005:07:35:01] rm -f /var/run/rsnapshot.pid
[21/Jun/2005:07:35:01] WARNING: /usr/local/bin/rsnapshot hourly: completed,
but with some warnings
Why did some files only partially transfer during rsync operation? Is there
any way to tell which files? Should I be concerned about this at all?
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
rsnapshot-discuss mailing list
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss
Loading...