[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[rdiff-backup-users] Connection Read Error
From: |
Bob Mead |
Subject: |
[rdiff-backup-users] Connection Read Error |
Date: |
Thu, 02 Apr 2009 13:31:08 -0700 |
User-agent: |
Thunderbird 2.0.0.18 (X11/20081125) |
Hello list:
I'm almost afraid to post this, but here goes. I have another backup
which is now failing. This one last worked on 3/30 and has since given
only "Previous backup seems to have failed, regressing destination now
messages". If I understand the expected behavior of rdiff correctly, I
should only see this if the previous attempt to backup has failed. Why
do I get these messages immediately after a successful backup, i.e. the
next attempt to backup fails? And, lastly: is there a mechanism in rdiff
to tell me that the regression has completed successfully? I've never
seen any messages regarding the completion of the regression. I'm going
to guess that repeated attempts to backup have failed and that is the
reason why I am still seeing 'regressing now' messages.
The scenario: 'push' style backup, origin server is Linux
2.6.7-gentoo-r5 #5 SMP Mon Feb 6 16:54:19 PST 2006 i686 Intel(R)
Xeon(TM) CPU 2.40GHz GenuineIntel GNU/Linux running rdiff v1.0.4,
destination server is Linux 2.6.15-51-amd64-server #1 SMP Tue Feb 12
17:08:38 UTC 2008 x86_64 GNU/Linux running rdiff v1.0.4.
Destination directory is NFS mounted to the destination server (original
server ran out of space). I've set both rsize and wsize to 16384 and
timeo to 50 for the nfs mount to improve performance and these settings
have not changed since the backup last worked. Other backups I run daily
using this exact scenario (same destination server [also using the nfs
mount], different origin servers using the same version of rdiff) are
working just fine.
Rdiff runs as a cron job daily using the following script/commands:
rdiff-backup --print-statistics --exclude-special-files --exclude
'**tmp' --exclude /var/log --include /etc --include /home --include /var
--include /root --exclude / / root@<server name>::/home/space/backups/oak
rdiff-backup --remove-older-than 2M root@<server
name>::/home/space/backups/oak
output:
Previous backup seems to have failed, regressing destination now.
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
285, in Main
take_action(rps)
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
255, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
299, in Backup
backup_final_init(rpout)
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
396, in backup_final_init
checkdest_if_necessary(rpout)
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
903, in checkdest_if_necessary
dest_rp.conn.regress.Regress(dest_rp)
File "/usr/lib/python2.4/site-packages/rdiff_backup/connection.py",
line 445, in __call__
return apply(self.connection.reval, (self.name,) + args)
File "/usr/lib/python2.4/site-packages/rdiff_backup/connection.py",
line 367, in reval
if isinstance(result, Exception): raise result
OSError: [Errno 17] File exists: '/home/space/backups/oak/home/kstewa11'
Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in ?
rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
285, in Main
take_action(rps)
File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
253, in take_action
connection.PipeConnection(sys.stdin, sys.stdout).Server()
File "/usr/lib/python2.4/site-packages/rdiff_backup/connection.py",
line 352, in Server
self.get_response(-1)
File "/usr/lib/python2.4/site-packages/rdiff_backup/connection.py",
line 314, in get_response
try: req_num, object = self._get()
File "/usr/lib/python2.4/site-packages/rdiff_backup/connection.py",
line 230, in _get
raise ConnectionReadError("Truncated header string (problem "
rdiff_backup.connection.ConnectionReadError: Truncated header string
(problem probably originated remotely)
Thanks,
~bob
bmead.vcf
Description: Vcard
- [rdiff-backup-users] Connection Read Error,
Bob Mead <=