[rdup] rdup and restore
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
PGP: 6A3C F450 6D4E 7C6B C23C F982 258B 85CF 3880 D0F6
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 191 bytes
Desc: Digital signature
More information about the rdup