I found one problem ...
When I try to backup small part of data everything is ok. But when i try to backup all data i get this error:
IOError while trying to log exception!
Exception '[Errno 22] Invalid argument' raised of class '<type 'exceptions.IOErr
or'>':
File "rdiff_backup\robust.pyc", line 32, in check_common_error
File "rdiff_backup\rpath.pyc", line 101, in copy
File "rdiff_backup\rpath.pyc", line 129, in copy_reg_file
File "rdiff_backup\rpath.pyc", line 1148, in write_from_fileobj
File "rdiff_backup\rpath.pyc", line 885, in setdata
File "rdiff_backup\rpath.pyc", line 1450, in setdata_local
File "rdiff_backup\win_acls.pyc", line 227, in rpath_acl_win_get
File "rdiff_backup\win_acls.pyc", line 48, in load_from_rp
File "rdiff_backup\log.pyc", line 120, in __call__
File "rdiff_backup\log.pyc", line 129, in log_to_file
Thu Oct 02 14:12:44 2008 Exception '[Errno 22] Invalid argument' raised of clas
s '<type 'exceptions.IOError'>':
File "rdiff_backup\Main.pyc", line 302, in error_check_Main
File "rdiff_backup\Main.pyc", line 322, in Main
File "rdiff_backup\Main.pyc", line 278, in take_action
File "rdiff_backup\Main.pyc", line 344, in Backup
File "rdiff_backup\backup.pyc", line 38, in Mirror
File "rdiff_backup\backup.pyc", line 232, in patch
File "rdiff_backup\rorpiter.pyc", line 281, in __call__
File "rdiff_backup\backup.pyc", line 529, in fast_process
File "rdiff_backup\backup.pyc", line 550, in patch_to_temp
File "rdiff_backup\backup.pyc", line 579, in patch_snapshot_to_temp
File "rdiff_backup\robust.pyc", line 39, in check_common_error
File "rdiff_backup\robust.pyc", line 88, in error_handler
File "rdiff_backup\log.pyc", line 255, in write_if_open
File "rdiff_backup\log.pyc", line 236, in write
File "rdiff_backup\log.pyc", line 120, in __call__
File "rdiff_backup\log.pyc", line 129, in log_to_file
Traceback (most recent call last):
File "rdiff-backup", line 23, in <module>
File "rdiff_backup\Main.pyc", line 302, in error_check_Main
File "rdiff_backup\Main.pyc", line 322, in Main
File "rdiff_backup\Main.pyc", line 278, in take_action
File "rdiff_backup\Main.pyc", line 344, in Backup
File "rdiff_backup\backup.pyc", line 38, in Mirror
File "rdiff_backup\backup.pyc", line 232, in patch
File "rdiff_backup\rorpiter.pyc", line 281, in __call__
File "rdiff_backup\backup.pyc", line 529, in fast_process
File "rdiff_backup\backup.pyc", line 550, in patch_to_temp
File "rdiff_backup\backup.pyc", line 579, in patch_snapshot_to_temp
File "rdiff_backup\robust.pyc", line 39, in check_common_error
File "rdiff_backup\robust.pyc", line 88, in error_handler
File "rdiff_backup\log.pyc", line 255, in write_if_open
File "rdiff_backup\log.pyc", line 236, in write
File "rdiff_backup\log.pyc", line 120, in __call__
File "rdiff_backup\log.pyc", line 129, in log_to_file
IOError: [Errno 22] Invalid argument
close failed: [Errno 9] Bad file descriptor
2008/10/2 Всеволод Витязев
<address@hidden>
I tried this new pre-release version. Now it's perfectly backup my data on SMB drive.
Thanks!
2008/10/2 Andrew Ferguson
<address@hidden>
On Sep 18, 2008, at 3:51 AM, Всеволод Витязев wrote:
I use rdiff-backup on Win XP. I want to backup my files on my network (SMB) drive. When I try to do it I get this error:
pywintypes.error: (1314, 'SetFileSecurity', '\xca\xeb\xe8\xe5\xed\xf2 \xed\xe5 \xee\xe1\xeb\xe0\xe4\xe0\xe5\xf2 \xf2\xf0\xe5\xe1\xf3\xe5\xec\xfb\xec\xe8 \xef\xf0\xe0\xe2\xe0\xec\xe8.')
Is it impossible to backup on SMB share?
On Sep 23, 2008, at 7:49 AM, Richard Metzger wrote:
it looks I'm getting a very similar error when backing up from a local drive to a NAS (Linkstation Pro) connected via SMB at "s:\".
Tue Sep 23 13:37:50 2008 Exception '(5, 'SetFileSecurity', 'Zugriff verweigert')' raised of class '<class 'pywintypes.error'>':
'Zugriff verweigert' translates to "access denied"
Ok, so it looks to me like these problems with backing up from Windows to SMB are closely related to the problems which were discovered on Windows 2000. I've been able to recreate them in my test environment, and write some fixes which are now in CVS.
As I just mentioned in my Windows 2000 email, I have made a pre-release of the Windows version available:
http://download.savannah.nongnu.org/releases/rdiff-backup/testing/rdiff-backup-1.2.2pre.exe
and the CHANGELOG for that prerelease is here:
http://cvs.savannah.gnu.org/viewvc/*checkout*/rdiff-backup/CHANGELOG?revision=1.308&root=rdiff-backup
thanks,
Andrew