[rdup] rdup and restore

Miek Gieben miek at miek.nl
Mon Apr 10 11:49:02 CEST 2006


[On 06 Apr, @16:14, Miek Gieben wrote in "[rdup] rdup and restore ..."]
> I might add another flag to mirror.sh to just do that. This means
> you almost get remote restore for free.
> The cmd line would get pretty long, but this can de hidden by a 
> wrapper script. 
> 
> Code is in subversion in the restore/ directory.

The scripts are now fairly complete, I named to restored
script rorrim.sh. This allows me to make a wrapper script
named restore.sh (which is somewhat saner).

Anyhow, the following is now possible:
rdup /dev/null /vol/backup/200604 | monthday.sh | rorrim.sh /tmp/NEW

which restores to /tmp/NEW. 

Also because of rdup, a remote restore (pulling the files from a
remote machine), should work like this:

ssh othermachine rdup -c /dev/null /vol/backup/200604 | \
monthday.sh -c | rorrim.sh -c /tmp/NEW

which "pulls" the files from 'othermachine' and restores them
locally in /tmp/NEW

regards,

--
grtz,
  - Miek

  http://www.miek.nl              http://www.nlnetlabs.nl
  PGP: 6A3C F450 6D4E 7C6B C23C  F982 258B 85CF 3880 D0F6
-------------- 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/20060410/7a18595e/attachment-0007.pgp>


More information about the rdup mailing list