BackupPC: Difference between revisions
Jump to navigation
Jump to search
Line 47: | Line 47: | ||
=== Issues on Lacie-Cloud === |
=== Issues on Lacie-Cloud === |
||
I get failed backup on the lacie-cloud server; I log my findings / tests here. |
I get failed backup on the lacie-cloud server; I log my findings / tests here. |
||
The current rsync command line is: |
|||
/opt/bin/rsync_bpc --bpc-top-dir /shares/backuppc --bpc-host-name zavcxl0005 --bpc-share-name home \ |
|||
--bpc-bkup-num 1 --bpc-bkup-comp 3 --bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1 --bpc-bkup-inode0 567 \ |
|||
--bpc-log-level 3 --super --recursive --protect-args --numeric-ids --perms --owner --group -D --times \ |
|||
--links --hard-links --delete --partial --log-format=log: %o %i %B %8U,%8G %9l %f%L --stats \ |
|||
--modify-window=5 --one-file-system --password-file=/shares/backuppc/pc/zavcxl0005/.rsyncdpw6801 \ |
|||
--exclude=.cache --exclude=.recoll --exclude=.gvfs --exclude=.thumbnails --exclude=.Trash* \ |
|||
--exclude=*.nobak --exclude=.*.nobak --exclude=.opera/cache --exclude=Snapshots --exclude=Cache \ |
|||
--exclude=Dropbox --exclude=$RECYCLE.BIN --exclude=$Recycle.Bin --exclude=System Volume Information \ |
|||
--exclude=lost+found backuppc@zavcxl0005::home / |
Revision as of 18:38, 19 June 2015
References
- rsync
Troubleshooting
Broken pipe
Typical errors:
rsync_bpc: writefd_unbuffered failed to write 426 bytes to message fd [receiver]: Broken pipe (32)
- Possible causes and solutions
- Happens more frequently with big files, but some small files fail too. Not always the same file
- Timeout issue
- Firewall
- Lots of packet loss / reject. The following iptable route might help [1]:
iptables -I {line} -p tcp --tcp-flags SYN,RST,ACK,FIN ACK -j ACCEPT
- Links
- Interesting discussion on samba.org, with troubleshooting ideas.
strace -tt -f -o /tmp/rsync-$$.out rsync \ --verbose \ --exclude "stor/hosts" \ --exclude "var/run" \ --exclude "var/spool" \ --rsh="ssh -p $backoff_port" \ --rsync-path="sudo /usr/local/bin/rsync-debug" \ --recursive \ --links \ --perms \ --times \ --owner \ --group \ --numeric-ids \ --xattrs \ --delete \ --compress \ --human-readable \ --stats \ --exclude='udat/backup*/*' \ --exclude='udat/migrate/*' \ /mnt/stor \ $userid@$backoff_url:$destdir 2>&1
Issues on Lacie-Cloud
I get failed backup on the lacie-cloud server; I log my findings / tests here.
The current rsync command line is:
/opt/bin/rsync_bpc --bpc-top-dir /shares/backuppc --bpc-host-name zavcxl0005 --bpc-share-name home \ --bpc-bkup-num 1 --bpc-bkup-comp 3 --bpc-bkup-prevnum -1 --bpc-bkup-prevcomp -1 --bpc-bkup-inode0 567 \ --bpc-log-level 3 --super --recursive --protect-args --numeric-ids --perms --owner --group -D --times \ --links --hard-links --delete --partial --log-format=log: %o %i %B %8U,%8G %9l %f%L --stats \ --modify-window=5 --one-file-system --password-file=/shares/backuppc/pc/zavcxl0005/.rsyncdpw6801 \ --exclude=.cache --exclude=.recoll --exclude=.gvfs --exclude=.thumbnails --exclude=.Trash* \ --exclude=*.nobak --exclude=.*.nobak --exclude=.opera/cache --exclude=Snapshots --exclude=Cache \ --exclude=Dropbox --exclude=$RECYCLE.BIN --exclude=$Recycle.Bin --exclude=System Volume Information \ --exclude=lost+found backuppc@zavcxl0005::home /