rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rdiff-backup-users] Backup from OSX to Win


From: Thanos Diacakis
Subject: [rdiff-backup-users] Backup from OSX to Win
Date: Wed, 7 Jan 2009 13:09:12 -0800

Hi all,

I am trying to backup from OSX (latest) to Windows. rdiff-backup 1.2.5 installed on either end. The ssh configuration was tested by running "rdiff-backup --version" over the pipe and getting back only a single line. The windows rdiff-backup is using the 1.2.5 executable with the VC redist.

Then using this command:

rdiff-backup -v9 --test-server --remote-schema 'ssh -q -F ~/Settings/ ssh/ssh-home-conf2 my.windows.box.here.net -p 60666 %s' 'z:\\rdiff- backup.exe --server'::/foo

... and it keeps dying with the trace below.

Any ideas?

Thanks

Thanos

Wed Jan  7 12:51:15 2009  Using rdiff-backup version 1.2.5
Wed Jan 7 12:51:15 2009 Executing ssh -q -F ~/Settings/ssh/ssh-home- conf2 my.windows.box.here.net -p 60666 z:\rdiff-backup.exe --server Wed Jan 7 12:51:15 2009 Client sending (0): ConnectionRequest: Globals.get with 1 arguments
Wed Jan  7 12:51:15 2009  Client sending (0): 'version'
Wed Jan  7 12:51:16 2009  Client received (0): '1.2.5'
Wed Jan  7 12:51:16 2009  Registering connection 1
Wed Jan 7 12:51:16 2009 Client sending (0): ConnectionRequest: SetConnections.init_connection_remote with 1 arguments
Wed Jan  7 12:51:16 2009  Client sending (0): 1
Wed Jan  7 12:51:16 2009  Client received (0): None
Wed Jan 7 12:51:16 2009 Client sending (0): ConnectionRequest: log.Log.setverbosity with 1 arguments
Wed Jan  7 12:51:16 2009  Client sending (0): 9
Wed Jan  7 12:51:16 2009  Client received (0): None
Wed Jan 7 12:51:16 2009 Client sending (0): ConnectionRequest: log.Log.setterm_verbosity with 1 arguments
Wed Jan  7 12:51:16 2009  Client sending (0): 9
Wed Jan  7 12:51:16 2009  Client received (0): None
Wed Jan 7 12:51:16 2009 Client sending (0): ConnectionRequest: rpath.make_file_dict with 1 arguments
Wed Jan  7 12:51:16 2009  Client sending (0): '/foo'
Wed Jan  7 12:51:16 2009  Client received (0): {'type': None}
Wed Jan 7 12:51:16 2009 Client sending (0): ConnectionRequest: rpath.make_file_dict with 1 arguments
Wed Jan  7 12:51:16 2009  Client sending (0): '/foo'
Wed Jan  7 12:51:16 2009  Client received (0): {'type': None}
Wed Jan 7 12:51:16 2009 Client sending (0): ConnectionRequest: Time.setcurtime_local with 1 arguments
Wed Jan  7 12:51:16 2009  Client sending (0): 1231361476
Wed Jan  7 12:51:16 2009  Client received (0): None
Wed Jan 7 12:51:16 2009 Client sending (0): ConnectionRequest: Globals.set with 2 arguments
Wed Jan  7 12:51:16 2009  Client sending (0): 'client_conn'
Wed Jan  7 12:51:16 2009  Client sending (0): LocalConnection
Wed Jan  7 12:51:16 2009  Client received (0): None
Wed Jan 7 12:51:16 2009 Client sending (0): ConnectionRequest: Globals.postset_regexp_local with 3 arguments
Wed Jan  7 12:51:16 2009  Client sending (0): 'no_compression_regexp'
Wed Jan 7 12:51:16 2009 Client sending (0): '(?i).*\\.(gz|z|bz|bz2| tgz|zip|rpm|deb|jpg|jpeg|gif|png|jp2|mp3|ogg|avi|wmv|mpeg|mpg|rm|mov| flac|shn|pgp|gpg|rz|lzh|zoo|lharc|rar|arj|asc)$'
Wed Jan  7 12:51:16 2009  Client sending (0): None
Wed Jan  7 12:51:16 2009  Client received (0): None
Wed Jan 7 12:51:16 2009 Client sending (0): ConnectionRequest: robust.install_signal_handlers with 0 arguments
Wed Jan  7 12:51:17 2009  Client received (0): None
Wed Jan 7 12:51:17 2009 Client sending (0): ConnectionRequest: Hardlink.initialize_dictionaries with 0 arguments
Wed Jan  7 12:51:17 2009  Client received (0): None
Testing server started by: ssh -q -F ~/Settings/ssh/ssh-home-conf2 my.windows.box.here.net -p 60666 z:\rdiff-backup.exe --server Wed Jan 7 12:51:17 2009 Client sending (0): ConnectionRequest: Globals.get with 1 arguments
Wed Jan  7 12:51:17 2009  Client sending (0): 'current_time'
Wed Jan  7 12:51:17 2009  Client received (0): None
Wed Jan 7 12:51:17 2009 Client sending (0): ConnectionRequest: os.getuid with 0 arguments Wed Jan 7 12:51:17 2009 Client received (0): 'module' object has no attribute 'getuid'
Server tests failed
Wed Jan 7 12:51:17 2009 Exception ''module' object has no attribute 'getuid'' raised of class '<type 'exceptions.AttributeError'>': File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/rdiff_backup/Main.py", line 304, in error_check_Main
    try: Main(arglist)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/rdiff_backup/Main.py", line 324, in Main
    take_action(rps)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/rdiff_backup/Main.py", line 291, in take_action
    elif action == "test-server": SetConnections.TestConnections()
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/rdiff_backup/SetConnections.py", line 242, in TestConnections
    for i in range(1, len(Globals.connections)): test_connection(i)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/rdiff_backup/SetConnections.py", line 250, in test_connection
    assert type(conn.os.getuid()) is int
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/rdiff_backup/connection.py", line 450, in __call__
    return apply(self.connection.reval, (self.name,) + args)
File "/Library/Frameworks/Python.framework/Versions/2.5/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 "/Library/Frameworks/Python.framework/Versions/Current/bin/ rdiff-backup", line 30, in <module>
    rdiff_backup.Main.error_check_Main(sys.argv[1:])
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/rdiff_backup/Main.py", line 304, in error_check_Main
    try: Main(arglist)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/rdiff_backup/Main.py", line 324, in Main
    take_action(rps)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/rdiff_backup/Main.py", line 291, in take_action
    elif action == "test-server": SetConnections.TestConnections()
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/rdiff_backup/SetConnections.py", line 242, in TestConnections
    for i in range(1, len(Globals.connections)): test_connection(i)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/rdiff_backup/SetConnections.py", line 250, in test_connection
    assert type(conn.os.getuid()) is int
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/rdiff_backup/connection.py", line 450, in __call__
    return apply(self.connection.reval, (self.name,) + args)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/site-packages/rdiff_backup/connection.py", line 370, in reval
    if isinstance(result, Exception): raise result
AttributeError: 'module' object has no attribute 'getuid'
Wed Jan 07 12:51:17 2009  Server sending (0): None
Wed Jan 07 12:51:17 2009 Server received (0): ConnectionRequest: log.Log.setterm_verbosity with 1 arguments
Wed Jan 07 12:51:17 2009  Server received (0): 9
Wed Jan 07 12:51:17 2009  Server sending (0): None
Wed Jan 07 12:51:17 2009 Server received (0): ConnectionRequest: rpath.make_file_dict with 1 arguments
Wed Jan 07 12:51:17 2009  Server received (0): '/foo'
Wed Jan 07 12:51:17 2009  Server sending (0): {'type': None}
Wed Jan 07 12:51:17 2009 Server received (0): ConnectionRequest: rpath.make_file_dict with 1 arguments
Wed Jan 07 12:51:17 2009  Server received (0): '/foo'
Wed Jan 07 12:51:17 2009  Server sending (0): {'type': None}
Wed Jan 07 12:51:17 2009 Server received (0): ConnectionRequest: Time.setcurtime_local with 1 arguments
Wed Jan 07 12:51:17 2009  Server received (0): 1231361476
Wed Jan 07 12:51:17 2009  Server sending (0): None
Wed Jan 07 12:51:17 2009 Server received (0): ConnectionRequest: Globals.set with 2 arguments
Wed Jan 07 12:51:17 2009  Server received (0): 'client_conn'
Wed Jan 07 12:51:17 2009  Server received (0): PipeConnection 0
Wed Jan 07 12:51:17 2009  Server sending (0): None
Wed Jan 07 12:51:17 2009 Server received (0): ConnectionRequest: Globals.postset_regexp_local with 3 arguments
Wed Jan 07 12:51:17 2009  Server received (0): 'no_compression_regexp'
Wed Jan 07 12:51:17 2009 Server received (0): '(?i).*\\.(gz|z|bz|bz2| tgz|zip|rpm|deb|jpg|jpeg|gif|png|jp2|mp3|ogg|avi|wmv|mpeg|mpg|rm|mov| flac|shn|pgp|gpg|rz|lzh|zoo|lharc|rar|arj|asc)$'
Wed Jan 07 12:51:17 2009  Server received (0): None
Wed Jan 07 12:51:17 2009  Server sending (0): None
Wed Jan 07 12:51:17 2009 Server received (0): ConnectionRequest: robust.install_signal_handlers with 0 arguments
Wed Jan 07 12:51:17 2009  Server sending (0): None
Wed Jan 07 12:51:17 2009 Server received (0): ConnectionRequest: Hardlink.initialize_dictionaries with 0 arguments
Wed Jan 07 12:51:17 2009  Server sending (0): None
Wed Jan 07 12:51:17 2009 Server received (0): ConnectionRequest: Globals.get with 1 arguments
Wed Jan 07 12:51:17 2009  Server received (0): 'current_time'
Wed Jan 07 12:51:17 2009  Server sending (0): None
Wed Jan 07 12:51:17 2009 Server received (0): ConnectionRequest: os.getuid with 0 arguments Wed Jan 07 12:51:17 2009 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>

Wed Jan 07 12:51:17 2009 Server sending (0): 'module' object has no attribute 'getuid' Wed Jan 07 12:51:17 2009 Exception 'Truncated header string (problem probably originated remotely)' raised of class '<class 'rdiff_backup.connection.ConnectionReadError'>':
  File "rdiff_backup\Main.pyc", line 304, in error_check_Main
  File "rdiff_backup\Main.pyc", line 324, in Main
  File "rdiff_backup\Main.pyc", line 278, in take_action
  File "rdiff_backup\connection.pyc", line 355, in Server
  File "rdiff_backup\connection.pyc", line 315, in get_response
  File "rdiff_backup\connection.pyc", line 233, in _get

Wed Jan 07 12:51:17 2009 Fatal Error: Lost connection to the remote system




reply via email to

[Prev in Thread] Current Thread [Next in Thread]