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:\ [email protected]::/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 [email protected]
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:/ [email protected]::/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 ...
_______________________________________________
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