[rdup] Problem with gzip.sh

Miek Gieben miek at miek.nl
Sat Apr 22 15:46:58 CEST 2006


[On 22 Apr, @13:27, Erland Isaksson wrote in "Re: [rdup] Problem with gzip.s ..."]
> Hi
> 
> The official 0.2.8 release now works correctly when making backups with 
> gzip.sh.

ack :)

> However, monthday.sh -c still does not work. But maybe it shouldn't work 
> yet ?

nope, I looked at it, but monthday.sh is already complex and adding
a -c option (which implies that all files need to be stored
some-where, in case of a remote restore) makes it even more complex.

And I hate complexity :)

I need to really think what is needed, and how this can a accomplished
but something relative simple.

The thing is; I want to "reserve" monthday.sh for only selecting the
correct files for a restore. But when you run rdup -c, this
complicates matters somewhat.

> The first problem with monthday.sh is that the row:
> while getopts ":Vh" o; do
> 
> Needs to be changed to
> while getopts ":Vhc" o; do
> 
> But this just moves the problem, with the above change I can run monthday 
> without an error message about incorrect in-parameters, but it still 
> doesn't output anything at all.
> 
> I run it as:
> root at xp2500:~/tmp# rdup -c /dev/null backup/200604 
> |~/packages/rdup-0.2.8/sh-restore/monthday.sh -c
> root at xp2500:~/tmp#
> 
> If I run rdup/monthday.sh without -c parameter they correctly output a list 
> of all files.
> 
> I also noticed that the scripts in sh-restore directory is not installed 
> when running "make install"

yes, I do not think these scripts a worth installing (yet) as they do 
not fully work.

> Just for information, I'll continue to do my backups with hdup so it is not 
> urgent for me to get rdup restore working with gzip.sh. So if you have 
> other things you want to give higher priority thats fine by me.

okay, I keep hacking on rdup until you switch :)

--
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/20060422/2a9d9232/attachment-0007.pgp>


More information about the rdup mailing list