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: Pieter Donche
Subject: Re: [rdiff-backup-users] rdiff-backup-1.2.6-win32
Date: Tue, 3 Mar 2009 08:43:13 +0100 (CET)

On Mon, 2 Mar 2009, Dominic wrote:

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:

  It still gives the same error messages ...

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

   --no-acls just adds a remark in the output that POSIX and Windows
     ACLs test are skipped
   --no-hard-links: I think this is no longer needed for versions >1.2.1
       since Hardlinks are disabled by default on Windows
     (Anyway I tried with, but no difference)

(b) adds -ssh to plink, I doubt this is necessary but maybe it prevents an inadvertent telnet connection

    Tried without and with -ssh, no difference

(c) change source directory to c:/ from c:\ (i.e. linux format). Shouldn't be necessary but it might help...

    ?? isn't it the other way round?? c:/ is 'linux format', C:\ is windows
    So I already used linux format ...




reply via email to

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