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

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

Re: [rdiff-backup-users] rdiff-backup-1.2.6-win32


From: Dominic
Subject: Re: [rdiff-backup-users] rdiff-backup-1.2.6-win32
Date: Mon, 02 Mar 2009 15:57:26 +0000
User-agent: Thunderbird 2.0.0.19 (Windows/20081209)

Pieter Donche wrote:
I want to use winwos rdiff-backup-1.2.6 on a windows machine to backup my C:\ drive to a unix machine

In the C:\rdiff-backup-1.2.6 directory created at install of the Windows
version of rdiff-backup-1.2.6, I have put also my files
privkeypcinf56   (my private key)  and
plink.exe  (from the PuTTY software)

I first tested out that I could login passwordless on the remote backup server. (OK)

I created a batch file containing:
c:
cd \rdiff-backup-1.2.6
rdiff-backup.exe -v5 --print-statistics --remote-schema
"plink.exe -i privkeypcinf56.ppk %%s rdiff-backup --server"
c:\ address@hidden::/home/backup/pcinf56 >rdiffbu.out

The third line is one long line (but probably here broken over several lines due to the mail program)

When running the batch file from the DOS prompt, I get
in my  output file  rdiffbu.out (standard output):

Using rdiff-backup version 1.2.6
Executing plink.exe -i privkeypcinf56.ppk address@hidden rdiff-backup -- server
Hardlinks disabled by defautl on Windows
Unable to import module xattr.
Extended attributes not supported on filesystem at c:
Unable to import module posix1e from pylibacl package.
POSIX ACLs not supported on filesystem at c:
Sending bacj exception Path: c:/CHANGELOG.txt
Index: <'CHANGELOG.txt',>

 etc...

and on the screen (standard error)
Sending back exception Path: c:/CHANGELOG.txt
Index: <'CHANGELOG'.txt,>
Data: <'type': None> of type <type 'exceptions.AssertionError'>:
File "/usr/local/lib/python2.5/site-packages/rdiff_backup/connection.py", line 335, in answer_request
   result = apply(eval(request.fucntion-string), argument_list>

etc...

Fatal Error: Lost connection to the remote system

All that error output doesn't clarify my anything about what is going on...
The file c:\CHANGELOG.txt mentionned in the output does nog exist
(in c:\rdiff-backup-1.2.6 directory there is one, but part of the
distribution)


What is wrong and how to remedy ?
I suggest you try:

c:
cd \rdiff-backup-1.2.6
rdiff-backup.exe --no-acls --no-hard-links -v5 --print-statistics --remote-schema "plink.exe -ssh -i privkeypcinf56.ppk %%s rdiff-backup --server" c:/ address@hidden::/home/backup/pcinf56 >rdiffbu.out

This:
(a) adds options --no-acls and --no-hard-links to remove some of the warning messages (b) adds -ssh to plink, I doubt this is necessary but maybe it prevents an inadvertent telnet connection (c) change source directory to c:/ from c:\ (i.e. linux format). Shouldn't be necessary but it might help...

Dominic




reply via email to

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