bugrdiff-backup - Bugs: bug #22361, rdiff-backup to sshfs doesn't work

 
 

bug #22361: rdiff-backup to sshfs doesn't work

Submitted by:  None
Submitted on:  Tue 19 Feb 2008 08:38:55 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Invalid
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 10 Jun 2008 03:00:43 PM UTC, comment #1:

I don't believe this is an rdiff-backup bug since it is so similar to the CIFS case documented in the FAQ -- http://www.nongnu.org/rdiff-backup/FAQ.html#cifs

My suspicion is that the remote filesystem is case insensitive, but sshfs is not helping us determine that. ('diskstation' is the clue to that...)

This fix is to add '-o noauto_cache' to the sshfs command. That was the default behavior in sshfs until version 1.5.

Andrew Ferguson <owsla>
Project Administrator
Tue 19 Feb 2008 08:38:55 AM UTC, original submission:

root@jernst-desktop:/mnt# rdiff-backup --version
rdiff-backup 1.1.15

root@jernst-desktop:/mnt# python --version
Python 2.5.2a0

root@jernst-desktop:/mnt# sshfs --version
SSHFS version 1.7
FUSE library version: 2.7.2
fusermount version: 2.7.2
using FUSE kernel interface version 7.8

root@jernst-desktop:/mnt# uname -a
Linux jernst-desktop 2.6.24-8-generic #1 SMP Thu Feb 14 20:13:27 UTC 2008 x86_64 GNU/Linux

root@jernst-desktop:/mnt# sshfs diskstation:/volume1/backuppc /mnt/backuppc/ -o workaround=rename
root@jernst-desktop:/mnt# rdiff-backup -v5 /etc/ /mnt/backuppc/etc/
Using rdiff-backup version 1.1.15
Unable to import module xattr.
Extended attributes not supported on filesystem at /etc
Unable to import module posix1e from pylibacl package.
ACLs not supported on filesystem at /etc
escape_dos_devices not required by filesystem at /etc
-----------------------------------------------------------------
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
-----------------------------------------------------------------
Exception '' raised of class '<type 'exceptions.AssertionError'>':
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 302, in error_check_Main
try: Main(arglist)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 322, in Main
take_action(rps)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 278, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 332, in Backup
rpout.conn.fs_abilities.backup_set_globals(rpin, force)
File "/var/lib/python-support/python2.5/rdiff_backup/fs_abilities.py", line 746, in backup_set_globals
dest_fsa = FSAbilities('destination').init_readwrite(Globals.rbdir)
File "/var/lib/python-support/python2.5/rdiff_backup/fs_abilities.py", line 148, in init_readwrite
self.set_case_sensitive_readwrite(subdir)
File "/var/lib/python-support/python2.5/rdiff_backup/fs_abilities.py", line 288, in set_case_sensitive_readwrite
assert not upper_a.lstat()

Traceback (most recent call last):
File "/usr/bin/rdiff-backup", line 23, in <module>
rdiff_backup.Main.error_check_Main(sys.argv[1:])
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 302, in error_check_Main
try: Main(arglist)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 322, in Main
take_action(rps)
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 278, in take_action
elif action == "backup": Backup(rps[0], rps[1])
File "/var/lib/python-support/python2.5/rdiff_backup/Main.py", line 332, in Backup
rpout.conn.fs_abilities.backup_set_globals(rpin, force)
File "/var/lib/python-support/python2.5/rdiff_backup/fs_abilities.py", line 746, in backup_set_globals
dest_fsa = FSAbilities('destination').init_readwrite(Globals.rbdir)
File "/var/lib/python-support/python2.5/rdiff_backup/fs_abilities.py", line 148, in init_readwrite
self.set_case_sensitive_readwrite(subdir)
File "/var/lib/python-support/python2.5/rdiff_backup/fs_abilities.py", line 288, in set_case_sensitive_readwrite
assert not upper_a.lstat()
AssertionError

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by owsla (Posted a comment)
  • -unavailable- added by jernst (CCing me (the reporter))
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 10 Jun 2008 03:00:42 PM UTCowslaStatusNone=>Invalid
      Open/ClosedOpen=>Closed
    Tue 19 Feb 2008 08:41:30 AM UTCjernstCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1