[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Rdiff-backup-bugs] Re: [bug #19802] fails backing up to cifs share
From: |
Morgan Read |
Subject: |
[Rdiff-backup-bugs] Re: [bug #19802] fails backing up to cifs share |
Date: |
Sat, 19 May 2007 15:59:25 +1200 |
User-agent: |
Thunderbird 1.5.0.10 (X11/20070301) |
Wow - I'm really pushing the envelope! I'm surprised - but, I guess
nobody using this is silly enough to be running a windose system?
Anyway, if I follow correctly:
1 Update v1.1.9 to 1.1.10
2 Apply patch at #19896
3 Apply patch at #19895 when it's available (few days time?)
4 Sail away into the sunset?
Thanks for your help.
Regards,
Morgan.
Jonathan Hankins wrote:
> I know :-)
>
> See bug #19896 for my patch. Once you get past the set symlink perm
> exception, let me know if you get an error in set escape dos devices
> (or whatever it's called -- don't have it in front of me.) I bet if
> your cifs share is on a Windows server, you get an exception statting
> aux. See bug #19896. I should have a patch for that tonight.
> Believe it or not, it actually restores to a cifs share once you get
> past that. NB: all my patches and testing are against 1.1.10.
>
> On 5/18/07, m read <address@hidden> wrote:
>>
>> Follow-up Comment #4, bug #19802 (project rdiff-backup):
>>
>> No worries - I just do as I'm told:)
>>
>> Seems to have worked (to my novice eye) - except now there's an exception
>> further down the process re symlinks? Perhaps (if you can confirm)
>> this is
>> no longer the right place for this discussion? I tried with the
>> --exclude-symbolic-links switch, but it made no difference (and I'd like
>> them
>> anyway).
>>
>> Here's the output:
>>
>> address@hidden ~]# echo 0 > /proc/fs/cifs/LookupCacheEnabled
>> address@hidden ~]# rdiff-backup -v9 --include-globbing-filelist
>> include-list / /mnt/cifs/rdiff-backup
>> Sat May 19 10:16:41 2007 Making directory /mnt/cifs/rdiff-backup
>> Sat May 19 10:16:41 2007 Making directory
>> /mnt/cifs/rdiff-backup/rdiff-backup-data
>> Sat May 19 10:16:42 2007 Unable to import module xattr.
>> Extended attributes not supported on filesystem at /
>> Sat May 19 10:16:42 2007 Unable to import module posix1e from pylibacl
>> package.ACLs not supported on filesystem at /
>> Sat May 19 10:16:42 2007 escape_dos_devices not required by
>> filesystem at /
>> Sat May 19 10:16:42 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
>> -----------------------------------------------------------------
>> Sat May 19 10:16:42 2007 Making directory
>> /mnt/cifs/rdiff-backup/rdiff-backup-data/rdiff-backup.tmp.0
>> Sat May 19 10:16:42 2007 Touching
>> /mnt/cifs/rdiff-backup/rdiff-backup-data/rdiff-backup.tmp.0/5-_
>> a.snapshot.gz
>> Sat May 19 10:16:42 2007 Deleting
>> /mnt/cifs/rdiff-backup/rdiff-backup-data/rdiff-backup.tmp.0/5-_
>> a.snapshot.gz
>> Sat May 19 10:16:42 2007 Touching
>> /mnt/cifs/rdiff-backup/rdiff-backup-data/rdiff-backup.tmp.0/A
>> Sat May 19 10:16:42 2007 Deleting
>> /mnt/cifs/rdiff-backup/rdiff-backup-data/rdiff-backup.tmp.0/a
>> Sat May 19 10:16:42 2007 Touching
>> /mnt/cifs/rdiff-backup/rdiff-backup-data/rdiff-backup.tmp.0/foo
>> Sat May 19 10:16:42 2007 Deleting
>> /mnt/cifs/rdiff-backup/rdiff-backup-data/rdiff-backup.tmp.0/foo
>> Sat May 19 10:16:42 2007 Making directory
>> /mnt/cifs/rdiff-backup/rdiff-backup-data/rdiff-backup.tmp.0/hl
>> Sat May 19 10:16:42 2007 Touching
>> /mnt/cifs/rdiff-backup/rdiff-backup-data/rdiff-backup.tmp.0/hardlinked_file1
>>
>> Sat May 19 10:16:43 2007 Hard linking
>> /mnt/cifs/rdiff-backup/rdiff-backup-data/rdiff-backup.tmp.0/hl/hardlinked_file2
>>
>> to
>> /mnt/cifs/rdiff-backup/rdiff-backup-data/rdiff-backup.tmp.0/hardlinked_file1
>>
>> Sat May 19 10:16:43 2007 Warning: hard linking not supported by
>> filesystem
>> at /mnt/cifs/rdiff-backup/rdiff-backup-data
>> Sat May 19 10:16:43 2007 Directories on file system at
>> /mnt/cifs/rdiff-backup/rdiff-backup-data/rdiff-backup.tmp.0 are not
>> fsyncable.
>> Assuming it's unnecessary.
>> Sat May 19 10:16:43 2007 Unable to import module xattr.
>> Extended attributes not supported on filesystem at
>> /mnt/cifs/rdiff-backup/rdiff-backup-data/rdiff-backup.tmp.0
>> Sat May 19 10:16:43 2007 Unable to import module posix1e from pylibacl
>> package.ACLs not supported on filesystem at
>> /mnt/cifs/rdiff-backup/rdiff-backup-data/rdiff-backup.tmp.0
>> Sat May 19 10:16:43 2007 Touching
>> /mnt/cifs/rdiff-backup/rdiff-backup-data/rdiff-backup.tmp.0/dir_inc_check
>> Sat May 19 10:16:43 2007 Deleting
>> /mnt/cifs/rdiff-backup/rdiff-backup-data/rdiff-backup.tmp.0/dir_inc_check
>> Sat May 19 10:16:43 2007 Touching
>> /mnt/cifs/rdiff-backup/rdiff-backup-data/rdiff-backup.tmp.0/regfile
>> Sat May 19 10:16:43 2007 Deleting
>> /mnt/cifs/rdiff-backup/rdiff-backup-data/rdiff-backup.tmp.0/regfile
>> Sat May 19 10:16:43 2007 Touching
>> /mnt/cifs/rdiff-backup/rdiff-backup-data/rdiff-backup.tmp.0/high_perms
>> Sat May 19 10:16:44 2007 Deleting
>> /mnt/cifs/rdiff-backup/rdiff-backup-data/rdiff-backup.tmp.0/high_perms
>> Sat May 19 10:16:44 2007 Touching
>> /mnt/cifs/rdiff-backup/rdiff-backup-data/rdiff-backup.tmp.0/symlinked_file1
>>
>> Sat May 19 10:16:44 2007 Exception '[Errno 95] Operation not supported'
>> raised of class 'exceptions.OSError':
>> 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
>> 154, in init_readwrite
>> self.set_symlink_perms(subdir)
>> File
>> "/usr/lib/python2.4/site-packages/rdiff_backup/fs_abilities.py", line
>> 411, in set_symlink_perms
>> sym_dest.symlink(sym_source.path)
>> File "/usr/lib/python2.4/site-packages/rdiff_backup/rpath.py", line
>> 888,
>> in
>> symlink
>> self.conn.os.symlink(linktext, self.path)
>>
>> Traceback (most recent call last):
>> File "/usr/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
>> 154, in init_readwrite
>> self.set_symlink_perms(subdir)
>> File
>> "/usr/lib/python2.4/site-packages/rdiff_backup/fs_abilities.py", line
>> 411, in set_symlink_perms
>> sym_dest.symlink(sym_source.path)
>> File "/usr/lib/python2.4/site-packages/rdiff_backup/rpath.py", line
>> 888,
>> in
>> symlink
>> self.conn.os.symlink(linktext, self.path)
>> OSError: [Errno 95] Operation not supported
>> address@hidden ~]#
>>
>> _______________________________________________________
>>
>> Reply to this item at:
>>
>> <http://savannah.nongnu.org/bugs/?19802>
>>
>> _______________________________________________
>> Message sent via/by Savannah
>> http://savannah.nongnu.org/
>>
>>
>
>
--
Morgan Read
NEW ZEALAND
<mailto:mstuffATreadDOTorgDOTnz>
fedora: Freedom Forever!
http://fedoraproject.org/wiki/Overview
"By choosing not to ship any proprietary or binary drivers, Fedora does
differ from other distributions. ..."
Quote: Max Spevik
http://interviews.slashdot.org/article.pl?sid=06/08/17/177220
RMS on fedora:
http://fedoraproject.org/wiki/FreeSoftwareAnalysis/FSF
signature.asc
Description: OpenPGP digital signature