This is driving me a little crazy as previously it ran a full and happy backup.

Cron:

/usr/bin/rdiff-backup --exclude /var/yp --exclude /var/tux --exclude /var/tmp 
--exclude /var/www/usage --exclude /var/www/quarantine --exclude /var/www/coursebup
--exclude /var/www/manual --exclude /var/www/icons --exclude /var/www/error
--exclude /var/www/cgi-bin --exclude /var/spool --exclude /var/run 
--exclude /var/racoon --exclude /var/preserve --exclude /var/opt --exclude /var/nis 
--exclude /var/net-snmp --exclude /var/mail --exclude /var/lost+found --exclude /var/log 
--exclude /var/lock --exclude /var/local --exclude /var/lib --exclude /var/gdm 
--exclude /var/games --exclude /var/empty --exclude /var/db --exclude /var/clamav 
--exclude /var/cache --exclude /var/account --exclude /usr --exclude /tmp 
--exclude /sys --exclude /srv --exclude /selinux --exclude /sbin --exclude /root 
--exclude /proc --exclude /opt --exclude /net --exclude /mnt --exclude /misc 
--exclude /media --exclude /lost+found --exclude /lib64 --exclude /lib 
--exclude /home --exclude /etc --exclude /dev --exclude /boot 
--exclude /bin nameof-backup::/ /backups/destination

Error Log:

Found interrupted initial backup. Removing...
Exception '[Errno 28] No space left on device' raised of class 'exceptions.IOError':
  File "/usr/lib64/python2.4/site-packages/rdiff_backup/Main.py", line 304, in error_check_Main
    try: Main(arglist)
  File "/usr/lib64/python2.4/site-packages/rdiff_backup/Main.py", line 324, in Main
    take_action(rps)
  File "/usr/lib64/python2.4/site-packages/rdiff_backup/Main.py", line 280, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/lib64/python2.4/site-packages/rdiff_backup/Main.py", line 346, in Backup
    backup.Mirror(rpin, rpout)
  File "/usr/lib64/python2.4/site-packages/rdiff_backup/backup.py", line 38, in Mirror
    DestS.patch(dest_rpath, source_diffiter)
  File "/usr/lib64/python2.4/site-packages/rdiff_backup/backup.py", line 230, in patch
    for diff in rorpiter.FillInIter(source_diffiter, dest_rpath):
  File "/usr/lib64/python2.4/site-packages/rdiff_backup/rorpiter.py", line 177, in FillInIter
    for rp in rpiter:
  File "/usr/lib64/python2.4/site-packages/rdiff_backup/iterfile.py", line 382, in next
    while not type: type, data = self._get()
  File "/usr/lib64/python2.4/site-packages/rdiff_backup/iterfile.py", line 414, in _get
    if not self.buf: self.buf += self.file.read()
  File "/usr/lib64/python2.4/site-packages/rdiff_backup/connection.py", line 518, in read
    return self.connection.VirtualFile.readfromid(self.id, length)
  File "/usr/lib64/python2.4/site-packages/rdiff_backup/connection.py", line 450, in __call__
    return apply(self.connection.reval, (self.name,) + args)
  File "/usr/lib64/python2.4/site-packages/rdiff_backup/connection.py", line 370, in reval
    if isinstance(result, Exception): raise result

Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 30, in ?
    rdiff_backup.Main.error_check_Main(sys.argv[1:])
  File "/usr/lib64/python2.4/site-packages/rdiff_backup/Main.py", line 304, in error_check_Main
    try: Main(arglist)
  File "/usr/lib64/python2.4/site-packages/rdiff_backup/Main.py", line 324, in Main
    take_action(rps)
  File "/usr/lib64/python2.4/site-packages/rdiff_backup/Main.py", line 280, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/lib64/python2.4/site-packages/rdiff_backup/Main.py", line 346, in Backup
    backup.Mirror(rpin, rpout)
  File "/usr/lib64/python2.4/site-packages/rdiff_backup/backup.py", line 38, in Mirror
    DestS.patch(dest_rpath, source_diffiter)
  File "/usr/lib64/python2.4/site-packages/rdiff_backup/backup.py", line 230, in patch
    for diff in rorpiter.FillInIter(source_diffiter, dest_rpath):
  File "/usr/lib64/python2.4/site-packages/rdiff_backup/rorpiter.py", line 177, in FillInIter
    for rp in rpiter:
  File "/usr/lib64/python2.4/site-packages/rdiff_backup/iterfile.py", line 382, in next
    while not type: type, data = self._get()
  File "/usr/lib64/python2.4/site-packages/rdiff_backup/iterfile.py", line 414, in _get
    if not self.buf: self.buf += self.file.read()
  File "/usr/lib64/python2.4/site-packages/rdiff_backup/connection.py", line 518, in read
    return self.connection.VirtualFile.readfromid(self.id, length)
  File "/usr/lib64/python2.4/site-packages/rdiff_backup/connection.py", line 450, in __call__
    return apply(self.connection.reval, (self.name,) + args)
  File "/usr/lib64/python2.4/site-packages/rdiff_backup/connection.py", line 370, in reval
    if isinstance(result, Exception): raise result

IOError: [Errno 28] No space left on device
Fatal Error: Lost connection to the remote system

Ideas? Anyone?

link|improve this question
I'd changed the directory to run a test and forgotten to change it back! Now waiting for it to run new job. Hopefully that will straighten this out. – eGJD Jun 29 '09 at 5:54
1  
-1 for not reading the error – Alex Jurkiewicz Jun 29 '09 at 8:06
The problem is stated right there... – Server Horror Jun 29 '09 at 8:30
I read the error fine. I just didn't believe it. – eGJD Jun 29 '09 at 12:45
feedback

closed as too localized by splattne Mar 31 at 14:56

This question is unlikely to ever help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. See the FAQ for guidance on how to improve it.

2 Answers

You have run out of disk space:

[Errno 28] No space left on device
link|improve this answer
feedback

rdiff likes to hog space in temporary folder (especially during recovery, but maybe also during backups). just run

df -h

couple of times while backup is running (both on client and server) and see on which device you run out of space. if it happens to be temporary folder use --remote-tempdir and --tempdir options to specify place with plenty of space.

link|improve this answer
feedback

Not the answer you're looking for? Browse other questions tagged or ask your own question.