[rdup] sub sanity_check fails on remote host's mirror.pl

Miek Gieben miek at miek.nl
Fri Oct 13 13:55:33 CEST 2006


[On 13 Oct, @13:25, ns wrote in "[rdup] sub sanity_check fails  ..."]
> OK, it is my turn to make the conversion from hdup to rdup  :)
> hdup has served me well during the last months, and it proved a saviour 
> in a couple of cases as well, but due to the widely-recognized problems 
> of huge tar files most of all, i have decided to to try rdup and put it 
> into the production servers gradually
> Compilation under dapper went smoothly, so I'm trying a remote backup..
> 
> Now the problem: I did follow the documentation and ended up with 
> something like:
> 
> rm -f /etc/rdup/ROOT_DOCS_TIMESTAMP /etc/rdup/ROOT_DOCS_LIST && 
> /usr/sbin/rdup -v -v -N /etc/rdup/ROOT_DOCS_TIMESTAMP 
> /etc/rdup/ROOT_DOCS_LIST /root/docs |cstream |ssh root at 192.168.10.151 
> /usr/sbin/mirror.pl -v -c -b /data/spider
> 
> It's test of course and i try to backup /root/docs from localhost to 
> 192.168.10.151
> There is no .nobackup files in the /root/docs tree.
> 
> Now mirror.pl on the remote host says:
> 
> ** mirror.pl: dump (7) must be + or - at /usr/sbin/mirror.pl line 214, 
> <STDIN> line 2.

you must tell rdup to cat the file's contents, with the -c option:
use rdup -c -v -v -N ...

grtz Miek
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: Digital signature
URL: <http://miek.nl/pipermail/rdup/attachments/20061013/63b9f32c/attachment-0007.pgp>


More information about the rdup mailing list