Re: [rdiff-backup-users] Error on remote restore (1.2.3)
Andrew Ferguson wrote: On Jan 5, 2009, at 6:06 AM, Dominic wrote: ... but I do get an error with rdiff-backup 1.2.4 when running from a *Windows* client (to Linux-based rdiff-backup server) thus: C:\rdiff-backup -r 0D dominic-pcchi...@192.168.100.125::archives/mydocs/myfile.docx myfile.docx I will release 1.2.5 shortly so that we see better error messages. After that, feel free to try again, and we can see what went wrong. Hi Andrew When I run it with 1.2.5 I get the error message below, I hope this helps you some more (note that despite the message, the file 'archives/mydocs/meetings.docx' does exist in the archive). Dominic C:\rdiff-backup -r 0D dominic-pcchi...@192.168.100.125: :archives/mydocs/meetings.docx meetings.docx Exception '[Error 2] The system cannot find the file specified' raised of class 'type 'exceptions.WindowsError'': File "rdiff_backup\Main.pyc", line 304, in error_check_Main File "rdiff_backup\Main.pyc", line 321, in Main File "rdiff_backup\SetConnections.pyc", line 76, in cmdpair2rp File "rdiff_backup\SetConnections.pyc", line 139, in init_connection File "subprocess.pyc", line 595, in __init__ File "subprocess.pyc", line 821, in _execute_child Traceback (most recent call last): File "rdiff-backup", line 30, in module File "rdiff_backup\Main.pyc", line 304, in error_check_Main File "rdiff_backup\Main.pyc", line 321, in Main File "rdiff_backup\SetConnections.pyc", line 76, in cmdpair2rp File "rdiff_backup\SetConnections.pyc", line 139, in init_connection File "subprocess.pyc", line 595, in __init__ File "subprocess.pyc", line 821, in _execute_child WindowsError: [Error 2] The system cannot find the file specified ___ rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Re: [rdiff-backup-users] Error on remote restore (1.2.3)
On Jan 5, 2009, at 6:06 AM, Dominic wrote: ... but I do get an error with rdiff-backup 1.2.4 when running from a *Windows* client (to Linux-based rdiff-backup server) thus: C:\rdiff-backup -r 0D dominic-pcchi...@192.168.100.125::archives/ mydocs/myfile.docx myfile.docx Traceback (most recent call last): File rdiff-backup, line 30, in module File rdiff_backup\Main.pyc, line 307, in error_check_Main File rdiff_backup\robust.pyc, line 77, in is_routine_fatal NameError: global name 'e' is not defined Is this the known bug with Windows escaping (Savannah #25041) or something different? If it is, is the only solution to move to 1.3.0? (Strangely the last line of my error messages is the same as Ryan reported in 1.3.0 ('long filename error' thread)) Hi Dominic, Due to the typo in robust.py on line 77 (e.errno should be exc.errno) we don't know what error is causing your restore to fail. I will release 1.2.5 shortly so that we see better error messages. After that, feel free to try again, and we can see what went wrong. Andrew___ rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Re: [rdiff-backup-users] Error on remote restore (1.2.3)
... but I do get an error with rdiff-backup 1.2.4 when running from a *Windows* client (to Linux-based rdiff-backup server) thus: C:\rdiff-backup -r 0D dominic-pcchi...@192.168.100.125::archives/mydocs/myfile.docx myfile.docx Traceback (most recent call last): File "rdiff-backup", line 30, in module File "rdiff_backup\Main.pyc", line 307, in error_check_Main File "rdiff_backup\robust.pyc", line 77, in is_routine_fatal NameError: global name 'e' is not defined Is this the known bug with Windows escaping (Savannah #25041) or something different? If it is, is the only solution to move to 1.3.0? (Strangely the last line of my error messages is the same as Ryan reported in 1.3.0 ('long filename error' thread)) Dominic ___ rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
[rdiff-backup-users] Error on remote restore (1.2.3)
Experimenting with restoring files I have hit an error and I hope someone can help me. Running on the local backup machine this restore works fine: rdiff-backup -r 0D /home/dominic-pcchips2/archives/mydocs/To Do.xlsx ~/To Do.xlsx but when I try to restore by running from a remote Linux machine thus rdiff-backup -r 0D dominic-pcchi...@192.168.100.125::archives/mydocs/To Do.xlsx ~/To Do.xlsx I get errors (see below). I am using rdiff-backup 1.2.3 at both ends. Am I doing something wrong? To rule out the possibility of something being wrong on the remote machine I ran the same command on the backup machine i.e. looping back to itself - the same error messages occur. Dominic - Exception ' Warning Security Violation! Bad request for function: open with arguments: ['archives/mydocs/rdiff-backup-data/test ', 'w'] ' raised of class 'class 'rdiff_backup.Security.Violation'': File /usr/lib/python2.5/site-packages/rdiff_backup/Main.py, line 304, in error_check_Main try: Main(arglist) File /usr/lib/python2.5/site-packages/rdiff_backup/Main.py, line 324, in Main take_action(rps) File /usr/lib/python2.5/site-packages/rdiff_backup/Main.py, line 290, in take_action elif action == restore-as-of: Restore(rps[0], rps[1], 1) File /usr/lib/python2.5/site-packages/rdiff_backup/Main.py, line 550, in Restore dest_rp.conn.fs_abilities.restore_set_globals(dest_rp) File /usr/lib/python2.5/site-packages/rdiff_backup/fs_abilities.py, line 955, in restore_set_globals rsg.set_must_escape_trailing_spaces(Globals.rbdir) File /usr/lib/python2.5/site-packages/rdiff_backup/fs_abilities.py, line 836, in set_must_escape_trailing_spaces space_rp.touch() File /usr/lib/python2.5/site-packages/rdiff_backup/rpath.py, line 1027, in touch self.conn.open(self.path, w).close() File /usr/lib/python2.5/site-packages/rdiff_backup/connection.py, line 450, in __call__ return apply(self.connection.reval, (self.name,) + args) File /usr/lib/python2.5/site-packages/rdiff_backup/connection.py, line 370, in reval if isinstance(result, Exception): raise result Traceback (most recent call last): File /usr/bin/rdiff-backup, line 30, in module rdiff_backup.Main.error_check_Main(sys.argv[1:]) File /usr/lib/python2.5/site-packages/rdiff_backup/Main.py, line 304, in error_check_Main try: Main(arglist) File /usr/lib/python2.5/site-packages/rdiff_backup/Main.py, line 324, in Main take_action(rps) File /usr/lib/python2.5/site-packages/rdiff_backup/Main.py, line 290, in take_action elif action == restore-as-of: Restore(rps[0], rps[1], 1) File /usr/lib/python2.5/site-packages/rdiff_backup/Main.py, line 550, in Restore dest_rp.conn.fs_abilities.restore_set_globals(dest_rp) File /usr/lib/python2.5/site-packages/rdiff_backup/fs_abilities.py, line 955, in restore_set_globals rsg.set_must_escape_trailing_spaces(Globals.rbdir) File /usr/lib/python2.5/site-packages/rdiff_backup/fs_abilities.py, line 836, in set_must_escape_trailing_spaces space_rp.touch() File /usr/lib/python2.5/site-packages/rdiff_backup/rpath.py, line 1027, in touch self.conn.open(self.path, w).close() File /usr/lib/python2.5/site-packages/rdiff_backup/connection.py, line 450, in __call__ return apply(self.connection.reval, (self.name,) + args) File /usr/lib/python2.5/site-packages/rdiff_backup/connection.py, line 370, in reval if isinstance(result, Exception): raise result rdiff_backup.Security.Violation: Warning Security Violation! Bad request for function: open with arguments: ['archives/mydocs/rdiff-backup-data/test ', 'w'] Fatal Error: Lost connection to the remote system ___ rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
Re: [rdiff-backup-users] Error on remote restore (1.2.3)
wrote: On Jan 1, 2009, at 5:58 AM, Dominic wrote: Experimenting with restoring files I have hit an error and I hope someone can help me. Running on the local backup machine this restore works fine: rdiff-backup -r 0D /home/dominic-pcchips2/archives/mydocs/To Do.xlsx ~/To Do.xlsx but when I try to restore by running from a remote Linux machine thus rdiff-backup -r 0D dominic-pcchi...@192.168.100.125::archives/mydocs/To Do.xlsx ~/To Do.xlsx I get errors (see below). I am using rdiff-backup 1.2.3 at both ends. Am I doing something wrong? To rule out the possibility of something being wrong on the remote machine I ran the same command on the backup machine i.e. looping back to itself - the same error messages occur. Oh, damn. :-(I'll spin 1.2.4 in just a moment to disable the new escape trailing spaces code. The fix for this might take awhile, since it also means that the escape dos devices code (2 years old) has become incorrect. Sorry for missing that during testing. crummy way to start the new year, Andrew Thanks for fixing the error so quickly, I can confirm that this problem does not occur with 1.2.4 Dominic ___ rdiff-backup-users mailing list at rdiff-backup-users@nongnu.org http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki