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

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

[rdiff-backup-users] win32 success! and one little problem :)


From: David Kempe
Subject: [rdiff-backup-users] win32 success! and one little problem :)
Date: Mon, 5 Jan 2004 17:49:41 +1100

Hi People,
I have finally got rdiff-backup to work nicely and have packaged it up into
a windows installer file.
it comes to a single 2.3meg setup.exe.
I can supply on request if anyone needs it.
its 0.13.3 because of windows issues, so you need a working 13.3 server
first.

only problem is I have to use a batch file like this to run it:
-------
mkdir %systemdrive%\bin
copy %systemdrive%\dbglobal\backup\bin\sh.exe %systemdrive%\bin\
python2.3.exe
%systemdrive%\DBGlobal\backup\rdiff-backup -v6 --print-statistics --remote-s
chema 'plink -C -i sloth.PPK %%s rdiff-backup --server' %1 %2
del %systemdrive%\bin\sh.exe
rmdir %systemdrive%\bin

------

as you can see /bin/sh.exe needs to be in the root of c: for it to work. it
creates it and deletes it afterwards, which is fine but not really great if
you already have a nice c:\bin\sh.exe you like.
so, does anyone know how to pass to rdiff-backup a different location for
/bin/sh ?
I need to put it in a subdirectory where I can control would be nice. A
system variable would be even better... ie set SH-SHELL=c:\backup\bin\sh or
something.
I am pretty stuck on this point.
but as for the rest of it, I am pretty happy with windows-> linux backups
for 0.13.3.
if anyone else wants to test it out on different platforms I can supply the
.exe on request.

Thanks,

David Kempe






reply via email to

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