Andrew Ferguson wrote: > Excellent. Do you think you could also test ssh Windows -> Windows for > me? (eg, ssh to localhost from the Windows machine) ... I want to make > sure the fix works for that case as well.
Yes, off course. Do mean test it on windows machine like this: rdiff-backup-1.2.2pre3 -v5 --no-hard-links --exclude=**.ncb --exclude=**/HuSMPP.exe/Debug/* --exclude=**/HuSMPP.exe/Release/* --remote-schema "ssh -C %s rdiff-backup-1.2.2pre3.exe --server" --print-statistics [EMAIL PROTECTED]::d:\/Hubbitus/My_PROGRAMS/HuSMPP.exe d:\TestLocalFolder ?? So it is working on first glance, but fails on the end of process: Processing changed file databaselayer/tests/wxwin.png Processing changed file databaselayer/website Processing changed file databaselayer/website/index.php Processing changed file res Processing changed file res/SMPPSample.ico Processing changed file res/SMPPSample.rc2 Processing changed file res/ico00001.ico Processing changed file res/idr_main.ico Processing changed file res/vssver.scc Processing changed file resource.h --------------[ Session statistics ]-------------- StartTime 1223719236.00 (Sat Oct 11 14:00:36 2008) EndTime 1223719268.70 (Sat Oct 11 14:01:08 2008) ElapsedTime 32.70 (32.70 seconds) SourceFiles 723 SourceFileSize 41787654 (39.9 MB) MirrorFiles 1 MirrorFileSize 0 (0 bytes) NewFiles 722 NewFileSize 41787654 (39.9 MB) DeletedFiles 0 DeletedFileSize 0 (0 bytes) ChangedFiles 1 ChangedSourceSize 0 (0 bytes) ChangedMirrorSize 0 (0 bytes) IncrementFiles 0 IncrementFileSize 0 (0 bytes) TotalDestinationSizeChange 41787654 (39.9 MB) Errors 0 -------------------------------------------------- Sending back exception 'module' object has no attribute 'getuid' of type <type ' exceptions.AttributeError'>: File "rdiff_backup\connection.pyc", line 335, in answer_request File "<string>", line 1, in <module> Sending back exception 'module' object has no attribute 'getuid' of type <type ' exceptions.AttributeError'>: File "rdiff_backup\connection.pyc", line 335, in answer_request File "<string>", line 1, in <module> Sending back exception 'module' object has no attribute 'getuid' of type <type ' exceptions.AttributeError'>: File "rdiff_backup\connection.pyc", line 335, in answer_request File "<string>", line 1, in <module> Sending back exception 'module' object has no attribute 'getuid' of type <type ' exceptions.AttributeError'>: File "rdiff_backup\connection.pyc", line 335, in answer_request File "<string>", line 1, in <module> Hardlinks disabled by default on Windows Unable to import module xattr. Extended attributes not supported on filesystem at d:\/Hubbitus/My_PRO C:\Documents and Settings\Hubbitus>GRAMS/HuSMPP.exe Unable to import module posix1e from pylibacl package. POSIX ACLs not supported on filesystem at d:\/Hubbitus/My_PROGRAMS/HuSMPP.exe Unable to load a Windows ACL. Windows ACLs not supported by filesystem at d:\/Hubbitus/My_PROGRAMS/HuSMPP.exe escape_dos_devices not required by filesystem at d:\/Hubbitus/My_PROGRAMS/HuSMPP .exe One observation. If run without arguments, rdiff-backup load CPU to 100% several seconds, before drop message: Fatal Error: No arguments given See the rdiff-backup manual page for more information. Possible it is also bug? Andrew Ferguson wrote: > Tonight, I may have found a solution. Try this: > > rdiff-backup -v9 --no-hard-links > --exclude=**.ncb > --exclude=**/HuSMPP.exe/Debug/* > --exclude=**/HuSMPP.exe/Release/* > --remote-schema 'nice -n17 ssh -C %s nice -n15 'rdiff-backup --server' > --print-statistics > 'hubbitus < at > workcomp::d:\/Hubbitus/My_PROGRAMS/HuSMPP.exe' > '/mnt/sgtBarracuda/BackUPs/HuSMPP' As I report, it is my initial variant. Andrew Ferguson wrote: > > or > > rdiff-backup -v9 --no-hard-links > --exclude=**.ncb > --exclude="d:\\/Hubbitus/My_PROGRAMS/HuSMPP.exe/Debug/*" > --exclude="d:\\/Hubbitus/My_PROGRAMS/HuSMPP.exe/Release/*" > --remote-schema 'nice -n17 ssh -C %s nice -n15 'rdiff-backup --server' > --print-statistics > 'hubbitus < at > workcomp::d:\/Hubbitus/My_PROGRAMS/HuSMPP.exe' > '/mnt/sgtBarracuda/BackUPs/HuSMPP' This variant fails with: Warning: Local version 1.2.1 does not match remote version 1.2.2pre3. Exception ''NoneType' object has no attribute 'next'' raised of class '<type 'exceptions.AttributeError'>': File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 302, in error_check_Main try: Main(arglist) File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 322, in Main take_action(rps) File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 278, in take_action elif action == "backup": Backup(rps[0], rps[1]) File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 344, in Backup backup.Mirror(rpin, rpout) File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 38, in Mirror DestS.patch(dest_rpath, source_diffiter) File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 230, in patch for diff in rorpiter.FillInIter(source_diffiter, dest_rpath): File "/usr/lib/python2.5/site-packages/rdiff_backup/rorpiter.py", line 169, in FillInIter first_rp = rpiter.next() # StopIteration gets passed upwards File "/usr/lib/python2.5/site-packages/rdiff_backup/iterfile.py", line 382, in next while not type: type, data = self._get() File "/usr/lib/python2.5/site-packages/rdiff_backup/iterfile.py", line 414, in _get if not self.buf: self.buf += self.file.read() File "/usr/lib/python2.5/site-packages/rdiff_backup/connection.py", line 516, in read return self.connection.VirtualFile.readfromid(self.id, length) File "/usr/lib/python2.5/site-packages/rdiff_backup/connection.py", line 448, 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 Using rdiff-backup version 1.2.1 Executing nice -n17 ssh -C [EMAIL PROTECTED] nice -n15 '/cygdrive/d/Hubbitus/Distributivs/rdiff-backup/rdiff-backup-1.2.2pre3.exe --server' ----------------------------------------------------------------- Detected abilities for source (read only) file system: Access control lists Off Extended attributes Off Windows access control lists Off Case sensitivity Off Escape DOS devices Off Mac OS X style resource forks Off Mac OS X Finder information Off ----------------------------------------------------------------- POSIX ACLs not supported by filesystem at /mnt/sgtBarracuda/BackUPs/HuSMPP/rdiff-backup-data/rdiff-backup.tmp.0 Unable to import win32security module. Windows ACLs not supported by filesystem at /mnt/sgtBarracuda/BackUPs/HuSMPP/rdiff-backup-data/rdiff-backup.tmp.0 escape_dos_devices not required by filesystem at /mnt/sgtBarracuda/BackUPs/HuSMPP/rdiff-backup-data/rdiff-backup.tmp.0 ----------------------------------------------------------------- Detected abilities for destination (read/write) file system: Ownership changing Off Hard linking On fsync() directories On Directory inc permissions On High-bit permissions On Symlink permissions Off Extended filenames On Windows reserved filenames Off Access control lists Off Extended attributes On Windows access control lists Off Case sensitivity On Escape DOS devices Off Mac OS X style resource forks Off Mac OS X Finder information Off ----------------------------------------------------------------- Backup: must_escape_dos_devices = 0 Starting mirror d:\Hubbitus\My_PROGRAMS\HuSMPP.exe to /mnt/sgtBarracuda/BackUPs/HuSMPP Sending back exception 'NoneType' object has no attribute 'next' of type <type 'exceptions.AttributeError'>: File "/usr/lib/python2.5/site-packages/rdiff_backup/connection.py", line 335, in answer_request result = apply(eval(request.function_string), argument_list) File "/usr/lib/python2.5/site-packages/rdiff_backup/connection.py", line 483, in readfromid if length is None: return cls.vfiles[id].read() File "/usr/lib/python2.5/site-packages/rdiff_backup/iterfile.py", line 302, in read if not self.addtobuffer(): break File "/usr/lib/python2.5/site-packages/rdiff_backup/iterfile.py", line 325, in addtobuffer try: currentobj = self.iter.next() File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 166, in get_sigs for src_rorp, dest_rorp in cls.CCPP: File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 320, in next source_rorp, dest_rorp = self.iter.next() File "/usr/lib/python2.5/site-packages/rdiff_backup/rorpiter.py", line 92, in Collate2Iters try: relem1 = riter1.next() Traceback (most recent call last): File "/usr/bin/rdiff-backup", line 23, in <module> rdiff_backup.Main.error_check_Main(sys.argv[1:]) File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 302, in error_check_Main try: Main(arglist) File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 322, in Main take_action(rps) File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 278, in take_action elif action == "backup": Backup(rps[0], rps[1]) File "/usr/lib/python2.5/site-packages/rdiff_backup/Main.py", line 344, in Backup backup.Mirror(rpin, rpout) File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 38, in Mirror DestS.patch(dest_rpath, source_diffiter) File "/usr/lib/python2.5/site-packages/rdiff_backup/backup.py", line 230, in patch for diff in rorpiter.FillInIter(source_diffiter, dest_rpath): File "/usr/lib/python2.5/site-packages/rdiff_backup/rorpiter.py", line 169, in FillInIter first_rp = rpiter.next() # StopIteration gets passed upwards File "/usr/lib/python2.5/site-packages/rdiff_backup/iterfile.py", line 382, in next while not type: type, data = self._get() File "/usr/lib/python2.5/site-packages/rdiff_backup/iterfile.py", line 414, in _get if not self.buf: self.buf += self.file.read() File "/usr/lib/python2.5/site-packages/rdiff_backup/connection.py", line 516, in read return self.connection.VirtualFile.readfromid(self.id, length) File "/usr/lib/python2.5/site-packages/rdiff_backup/connection.py", line 448, 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 AttributeError: 'NoneType' object has no attribute 'next' Sending back exception 'module' object has no attribute 'getuid' of type <type 'exceptions.AttributeError'>: File "rdiff_backup\connection.pyc", line 335, in answer_request File "<string>", line 1, in <module> Hardlinks disabled by default on Windows Unable to import module xattr. Extended attributes not supported on filesystem at d:\Hubbitus\My_PROGRAMS\HuSMPP.exe Unable to import module posix1e from pylibacl package. POSIX ACLs not supported on filesystem at d:\Hubbitus\My_PROGRAMS\HuSMPP.exe Unable to load a Windows ACL. Windows ACLs not supported by filesystem at d:\Hubbitus\My_PROGRAMS\HuSMPP.exe escape_dos_devices not required by filesystem at d:\Hubbitus\My_PROGRAMS\HuSMPP.exe Fatal Error: Fatal Error: The file specification 'd:\/Hubbitus/My_PROGRAMS/HuSMPP.exe/Debug/*' cannot match any files in the base directory 'd:\Hubbitus\My_PROGRAMS\HuSMPP.exe' Useful file specifications begin with the base directory or some pattern (such as '**') which matches the base directory. Sending back exception 1 of type <type 'exceptions.SystemExit'>: File "rdiff_backup\connection.pyc", line 335, in answer_request File "rdiff_backup\backup.pyc", line 70, in set_source_select File "rdiff_backup\selection.pyc", line 284, in ParseArgs File "rdiff_backup\selection.pyc", line 300, in parse_catch_error File "rdiff_backup\log.pyc", line 163, in FatalError Sending back exception 'NoneType' object has no attribute 'next' of type <type 'exceptions.AttributeError'>: File "rdiff_backup\connection.pyc", line 335, in answer_request File "rdiff_backup\connection.pyc", line 485, in readfromid File "rdiff_backup\iterfile.pyc", line 302, in read File "rdiff_backup\iterfile.pyc", line 325, in addtobuffer File "rdiff_backup\backup.pyc", line 103, in get_diffs File "rdiff_backup\iterfile.pyc", line 382, in next File "rdiff_backup\iterfile.pyc", line 414, in _get File "rdiff_backup\connection.pyc", line 518, in read File "rdiff_backup\connection.pyc", line 450, in __call__ File "rdiff_backup\connection.pyc", line 370, in reval Fatal Error: Lost connection to the remote system Andrew Ferguson wrote: > or (you may need some extra \ in there for your Unix shell) > > rdiff-backup -v9 --no-hard-links > --exclude=**.ncb > --exclude="d:\\\\/Hubbitus/My_PROGRAMS/HuSMPP.exe/Debug/*" > --exclude="d:\\\\/Hubbitus/My_PROGRAMS/HuSMPP.exe/Release/*" > --remote-schema 'nice -n17 ssh -C %s nice -n15 'rdiff-backup --server' > --print-statistics > 'hubbitus < at > workcomp::d:\\/Hubbitus/My_PROGRAMS/HuSMPP.exe' > '/mnt/sgtBarracuda/BackUPs/HuSMPP' Same error: Fatal Error: Fatal Error: The file specification 'd:\\/Hubbitus/My_PROGRAMS/HuSMPP.exe/Debug/*' cannot match any files in the base directory 'd:\Hubbitus\My_PROGRAMS\HuSMPP.exe' Andrew Ferguson wrote: > Let me know if one of those works. So, it seams that no one of the suggested variant works. [Crying or Very sad] +---------------------------------------------------------------------- |This was sent by [EMAIL PROTECTED] via Backup Central. |Forward SPAM to [EMAIL PROTECTED] +---------------------------------------------------------------------- _______________________________________________ rdiff-backup-users mailing list at [email protected] http://lists.nongnu.org/mailman/listinfo/rdiff-backup-users Wiki URL: http://rdiff-backup.solutionsfirst.com.au/index.php/RdiffBackupWiki
