rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rdiff-backup-users] --exclude-filelist ignored :(


From: Klavs Klavsen
Subject: [rdiff-backup-users] --exclude-filelist ignored :(
Date: Sat, 06 Nov 2004 09:02:11 +0100
User-agent: Mozilla Thunderbird 0.8 (X11/20040926)

Hi guys,

I've been using rdiff-backup for a while - but once in a while the backup breaks for some odd reason (sometimes because I manually remove files from the backup location (not from the rdiff-backup-data dir)).

What I do then, is remove the backup-data (and then unfortunately every chance of restoring from X days ago) and start over with --force :(

(explanation below errormsg :)
I've just had to do this, but now it complains like this:
/usr/bin/nice /usr/bin/rdiff-backup --force --exclude-device-files --exclude-other-filesystems --exclude-filelist /root/exclfiles.txt --exclude /etc/fstab / /backup/newroot
-----------------------------------------------------------------
Detected abilities for source (read only) file system:
  Access control lists                         Off
  Extended attributes                          Off
  Mac OS X style resource forks                Off
  Mac OS X Finder information                  Off
-----------------------------------------------------------------
-----------------------------------------------------------------
Detected abilities for destination (read/write) file system:
  Characters needing quoting                   ''
  Ownership changing                           On
  Hard linking                                 On
  fsync() directories                          On
  Directory inc permissions                    On
  Access control lists                         Off
  Extended attributes                          Off
  Mac OS X style resource forks                Off
  Mac OS X Finder information                  Off
-----------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/bin/rdiff-backup", line 23, in ?
    rdiff_backup.Main.Main(sys.argv[1:])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 259, in Main
    take_action(rps)
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 229, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
File "/usr/lib/python2.3/site-packages/rdiff_backup/Main.py", line 281, in Backup
    backup.Mirror(rpin, rpout)
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 38, in Mirror
    DestS.patch(dest_rpath, source_diffiter)
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 215, in patch
    ITR(diff.index, diff)
File "/usr/lib/python2.3/site-packages/rdiff_backup/rorpiter.py", line 279, in __call__
    last_branch.fast_process(*args)
File "/usr/lib/python2.3/site-packages/rdiff_backup/backup.py", line 478, in fast_process
    rp.delete()
File "/usr/lib/python2.3/site-packages/rdiff_backup/rpath.py", line 852, in delete
    else: self.conn.os.unlink(self.path)
OSError: [Errno 1] Operation not permitted: '/backup/newroot/etc/fstab'
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file '/backup/newroot/rdiff-backup-data/file_statistics.2004-11-06T08:51:21+01:00.data.gz', mode 'wb' at 0x407b7d20 0x407bba4c>> ignored Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file '/backup/newroot/rdiff-backup-data/error_log.2004-11-06T08:51:21+01:00.data.gz', mode 'wb' at 0x40513220 0x407c2b8c>> ignored Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file '/backup/newroot/rdiff-backup-data/mirror_metadata.2004-11-06T08:51:21+01:00.snapshot.gz', mode 'wb' at 0x407b7ee0 0x407c2e2c>> ignored

my exclude filelist contains:
- /etc/lilo.conf
- /etc/fstab
- /var/tmp
- /var/log/netfilter.log
- /var/log/apache2/vhost_access_log
- /tmp
- /usr/portage/distfiles
- /var/lib/slocate/slocate.db.tmp

and it has worked - but now it complains as above.

The reason I don't want it to backup /etc/fstab is because I can actually boot on the second harddrive and run with a system that will never be older than the latest backup.

I've done chattr +i on /backup/newroot/etc/fstab - and that's why it's dying - but the whole problem is - why does it even look at that file - when I told it to ignore it? I also tried adding "- /backup/newroot/etc/fstab" - but that didn't change :(

I've tried v12.7 and 13.4 - both do it. What am I misunderstanding here?
--
Regards,
Klavs Klavsen, GSEC - address@hidden - http://www.vsen.dk
PGP: 7E063C62/2873 188C 968E 600D D8F8  B8DA 3D3A 0B79 7E06 3C62

"Those who do not understand Unix are condemned to reinvent it, poorly."
  --Henry Spencer




reply via email to

[Prev in Thread] Current Thread [Next in Thread]