[rdup] rdup - a few suggestions [correction]
chris at filmkreis.tu-darmstadt.de
Tue Sep 29 21:26:47 CEST 2009
On Sat, September 12, 2009 14:16, Miek Gieben wrote:
> [ Quoting Dave Martin in "[rdup] rdup - a few suggestions [co"... ]
>> /media/disk/backups/200909/01/ # rdup /dev/null ./home/dave/etc | \
>> rdup-tr -Pgunzip| rdup-up -r . /
> I (think) I like the idea, but I'm not sure I completely understand
> it; -r specifies the root, so -r . says: current dir is the "new" root
> dir for the restore/update. How does this relate to -s N? I.e what is
> the actual algorithm for -r PATH?
> Thanks for the nice ideas, looks like a good reason to start on 1.0.3.
I've seen, you started implementing the new feature already. It could
be handy for me, too, so I gave it a try.
But it has still a bug, the root dir will also be created by rdup-up:
$ rdup /dev/null /tmp/b/200909/29/tmp/a/asdf |rdup-tr |rdup-up -r /tmp/b/`date
+%Y%m\/%d` -vn /tmp/c
After that it's working fine.
One question remains, why can't I use the -s and -r switches together? Am
I missing the intention of this, or is it just for technical reasons?
More information about the rdup