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

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

Re: [rdiff-backup-users] rdiff-backup problems (FC4 -> VFAT)


From: Bob McKay
Subject: Re: [rdiff-backup-users] rdiff-backup problems (FC4 -> VFAT)
Date: Mon, 10 Oct 2005 13:23:54 +0900

Thanks Wiebe,
    Sorry I've been offline on this, I spent the last five days chasing an obsure bug in
my courseware s/w.
    Well, we now have a clear definition of the problem: rdiff-backup fails in attempting
to backup to FAT32, but succeeds fine when backing up to the fedora logical volume
(I'm not sure what the fs is - whatever core 4 installs as the default right out of the box).
The command file for backing up to FAT32, and the resulting error file, are listed below
(please ignore any extraneous <cr>s, they're a result of the paste). I don't have much
choice about the file system format for the backup, I need to use the same file system to
share a HD between windows and linux, far as I know the only file system they can both
write to is FAT32. My understanding was that FAT32 was one of the supported file
structures for rdiff-backup?
   Best Wishes
   Bob

command file:
rm rdiff_errs
/usr/bin/rdiff-backup --exclude-special-files --no-hard-links -v4 --exclude /dev --exclude /lost+found --exclude /misc --exclude /net --exclude /proc --exclude /srv --exclude /tmp --exclude /var --exclude /boot --exclude /etc --exclude /media --exclude /mnt --exclude /opt --exclude /selinux --exclude /sys --exclude /winhome / /winhome/Mirror >> rdiff_errs 2>> rdiff_errs



error file:
ACLs not supported by filesystem at /
-----------------------------------------------------------------
Detected abilities for source (read only) file system:
  Access control lists                         Off
  Extended attributes                          On
  Mac OS X style resource forks                Off
  Mac OS X Finder information                  Off
-----------------------------------------------------------------
Warning: hard linking not supported by filesystem at /winhome/Mirror/rdiff-backup-data
Extended attributes not supported by filesystem at /winhome/Mirror/rdiff-backup-data/rdiff-backup.tmp.0
ACLs not supported by filesystem at /winhome/Mirror/rdiff-backup-data/rdiff-backup.tmp.0
-----------------------------------------------------------------
Detected abilities for destination (read/write) file system:
  Characters needing quoting                   '^a-z0-9_ -.'
  Ownership changing                           Off
  Hard linking                                 Off
  fsync() directories                          On
  Directory inc permissions                    Off
  Access control lists                         Off
  Extended attributes                          Off
  Mac OS X style resource forks                Off
  Mac OS X Finder information                  Off
-----------------------------------------------------------------
Starting mirror / to /winhome/Mirror
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 283, in Main
    take_action(rps)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line 253, in take_action
    elif action == "backup": Backup(rps[0], rps[1])
  File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line 306, in Backup
    backup.Mirror(rpin, rpout)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/backup.py", line 38, in Mirror
    DestS.patch(dest_rpath, source_diffiter)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/backup.py", line 218, in patch
    ITR(diff.index, diff)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/rorpiter.py", line 285, in __call__
    last_branch.fast_process(*args)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/backup.py", line 477, in fast_process
    if self.patch_to_temp(rp, diff_rorp, tf):
  File "/usr/lib/python2.4/site-packages/rdiff_backup/backup.py", line 504, in patch_to_temp
    rpath.copy_attribs(diff_rorp, new)
  File "/usr/lib/python2.4/site-packages/rdiff_backup/rpath.py", line 162, in copy_attribs
    rpout.chmod(rpin.getperms())
  File "/usr/lib/python2.4/site-packages/rdiff_backup/rpath.py", line 759, in chmod
    self.conn.os.chmod(self.path, permissions)
OSError: [Errno 1] Operation not permitted: '/winhome/Mirror/bin/rdiff-backup.tmp.43'
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file '/winhome/Mirror/rdiff-backup-data/extended_attributes.2005-10-08;08418;05851;05845+09;05800.snapshot.gz', mode 'wb' at 0xb7c6c140 -0x4838a714>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file '/winhome/Mirror/rdiff-backup-data/file_statistics.2005-10-08;08418;05851;05845+09;05800.data.gz', mode 'wb' at 0xb7cd1020 -0x4838a7f4>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file '/winhome/Mirror/rdiff-backup-data/error_log.2005-10-08;08418;05851;05845+09;05800.data.gz', mode 'wb' at 0xb7f3cf98 -0x4838d1b4>> ignored
Exception exceptions.TypeError: "'NoneType' object is not callable" in <bound method GzipFile.__del__ of <gzip open file '/winhome/Mirror/rdiff-backup-data/mirror_metadata.2005-10-08;08418;05851;05845+09;05800.snapshot.gz', mode 'wb' at 0xb7c6c0f8 -0x4838a7b4>> ignored




On 10/7/05, Wiebe Cazemier <address@hidden> wrote:
Bob McKay wrote:
> I'm not certain; I don't have a non-FAT32 filesystem to backup to (I
> guess I could use spare space in the same volume, if rdiff-backup
> isn't going to be confused by that - in fact, the main disk needs to
> be repartitioned, which would solve that problem, but I'm not game to
> do that until I have it properly backed up - catch 22.

rdiff-backup won't mind if you backup to the same partition, it has no reason
to. Just make some dir in /tmp and backup /bin to it or something. Shouldn't
even take much space. If that goes well, then the problem is backing up to FAT32.

BTW, I don't know why I didn't mention this earlier, but FAT32 is a very
unreliable filesystem. I would use ext3 or reiser on your backup disk/partition.
At least use something with journaling.

> Thanks for all the excellent advice - far more than the question I was
> originally asking, and all valuable

No problem :) Just making sure you don't mess up your system.


_______________________________________________
rdiff-backup-users mailing list at address@hidden
http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users
Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki


reply via email to

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