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

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

Re: [rdiff-backup-users] Problem with CIFS and Hard Links


From: Doug Renfrew
Subject: Re: [rdiff-backup-users] Problem with CIFS and Hard Links
Date: Fri, 2 Mar 2007 12:07:17 -0500

Installing the unstable version (1.1.9) does not solve the problem. I
got a new set of errors, shown bellow, but it appears, based on this
entry in the manpage below that it should work but isn't.

Manpage:
--override-chars-to-quote
If  the  filesystem  to  which  we are backing up is not
case-sensitive, automatic 'quoting' of characters occurs. For example,
a file 'Developer.doc' will be converted into ;068eveloper.doc'. To
override this behavior, you need to specify this option.

Errors:
# rdiff-backup --force -v9 /root/ /backup
Fri Mar  2 11:54:14 2007  Making directory /backup/rdiff-backup-data
Fri Mar  2 11:54:14 2007  Unable to import module xattr.
Extended attributes not supported on filesystem at /root
Fri Mar  2 11:54:14 2007  Unable to import module posix1e from pylibacl package.
ACLs not supported on filesystem at /root
Fri Mar  2 11:54:14 2007  escape_dos_devices not required by filesystem at /root
Fri Mar  2 11:54:14 2007
-----------------------------------------------------------------
Detected abilities for source (read only) file system:
 Access control lists                         Off
 Extended attributes                          Off
 Case sensitivity                             On
 Escape DOS devices                           Off
 Mac OS X style resource forks                Off
 Mac OS X Finder information                  Off
-----------------------------------------------------------------
Fri Mar  2 11:54:14 2007  Making directory
/backup/rdiff-backup-data/rdiff-backup.tmp.0
Fri Mar  2 11:54:14 2007  Touching
/backup/rdiff-backup-data/rdiff-backup.tmp.0/5-_ a.snapshot.gz
Fri Mar  2 11:54:15 2007  Deleting
/backup/rdiff-backup-data/rdiff-backup.tmp.0/5-_ a.snapshot.gz
Fri Mar  2 11:54:15 2007  Touching
/backup/rdiff-backup-data/rdiff-backup.tmp.0/A
Fri Mar  2 11:54:15 2007  Deleting
/backup/rdiff-backup-data/rdiff-backup.tmp.0/a
Fri Mar  2 11:54:15 2007  Exception '' raised of class
'exceptions.AssertionError':
 File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
298, in error_check_Main
   try: Main(arglist)
 File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
318, in Main
   take_action(rps)
 File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
274, in take_action
   elif action == "backup": Backup(rps[0], rps[1])
 File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
328, in Backup
   rpout.conn.fs_abilities.backup_set_globals(rpin)
 File "/usr/lib/python2.4/site-packages/rdiff_backup/fs_abilities.py",
line 668, in backup_set_globals
   dest_fsa = FSAbilities('destination').init_readwrite(Globals.rbdir)
 File "/usr/lib/python2.4/site-packages/rdiff_backup/fs_abilities.py",
line 144, in init_readwrite
   self.set_case_sensitive_readwrite(subdir)
 File "/usr/lib/python2.4/site-packages/rdiff_backup/fs_abilities.py",
line 251, in set_case_sensitive_readwrite
   assert not upper_a.lstat()

Traceback (most recent call last):
 File "/usr/local/bin/rdiff-backup", line 23, in ?
   rdiff_backup.Main.error_check_Main(sys.argv[1:])
 File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
298, in error_check_Main
   try: Main(arglist)
 File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
318, in Main
   take_action(rps)
 File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
274, in take_action
   elif action == "backup": Backup(rps[0], rps[1])
 File "/usr/lib/python2.4/site-packages/rdiff_backup/Main.py", line
328, in Backup
   rpout.conn.fs_abilities.backup_set_globals(rpin)
 File "/usr/lib/python2.4/site-packages/rdiff_backup/fs_abilities.py",
line 668, in backup_set_globals
   dest_fsa = FSAbilities('destination').init_readwrite(Globals.rbdir)
 File "/usr/lib/python2.4/site-packages/rdiff_backup/fs_abilities.py",
line 144, in init_readwrite
   self.set_case_sensitive_readwrite(subdir)
 File "/usr/lib/python2.4/site-packages/rdiff_backup/fs_abilities.py",
line 251, in set_case_sensitive_readwrite
   assert not upper_a.lstat()
AssertionError



The problem is with the samba configuration on the device mimicking
the the case preserving but still case insensitive behavior of older
Windows. Unfortunately I am unable to change the samba settings with
installing hacked firmware on the device because by default the device
only give the admin the ability to configure the device through a web
interface.

An alternative workaround I am considering is creating a very large
file on the samba share, configuring it as a loopback device, creating
a ext3 file system on it and mounting that and using it as the backup
"drive."

Doug

On 3/1/07, Andrew Ferguson <address@hidden> wrote:
Doug Renfrew wrote:
> Your right. I guess I just looked at the first warning about hard
> linking and assumed that that was it. I have tested the mount and it is
> case insensitive. From the bug report bellow it appears to have been
> fixed in a more recent version. I was reluctant to install the
> "unstable" version. Is there any reason why I should not?

The unstable version is generally quite safe. Do let us know if it fixes
your problem.

Andrew

--
Andrew Ferguson - address@hidden





--
---------------------------------------------
P. Douglas Renfrew
Graduate Student
Molecular and Cellular Biophysics Program
Dept. Biochemistry and Biophysics
Unv. of North Carolina at Chapel Hill
cell: (919)618-0700
lab: (919)843-1294
---------------------------------------------




reply via email to

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