[rdup] rdup - a few suggestions [correction]
Christoph Wilke
chris at filmkreis.tu-darmstadt.de
Tue Sep 29 21:26:47 CEST 2009
Hej,
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
/tmp/c/tmp
/tmp/c/tmp/b
/tmp/c/tmp/b/200909
/tmp/c/tmp/b/200909/29
/tmp/c/tmp
/tmp/c/tmp/a
/tmp/c/tmp/a/asdf
[...]
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?
Best regards
Christoph Wilke
More information about the rdup
mailing list