Re: Re: Feature Request[s]

Miek Gieben <[email protected]> Wed, 26 May 2004 22:40:51 +0200
Newsgroups gmane.comp.sysutils.backup.hdup.general
Message-ID <[email protected]>
[On 26 May, @19:05, robs_maill wrote in "[hdup-user] Re: Feature Reques ..."]
> Quoting Miek Gieben <[email protected]>:
> 
> > > Also, is it possible to add some new features to hdup?
> > > at empoweringmedia.com we've begun using hdup and I've noticed some quirks
> > that
> > > need handling.
> > 
> > yes, if is not too much work (and can be done without rewriting hdup)
> > 
> > grtz Miek
> 
> 1.   add a -i (for ignore tar errors) function. 
>      This is needed sometimes during a restore. 
> The other day I was attempting a network restore. 
> Tar complained about not being able to mkdir a directory. 
> The restore stopped after the monthly and never continued with weekly/daily's. 
> There was nothing I could do with the tar file itself, It was OK. 
> I had to create a tar.sh and point the config file to that. 
> In the tar.sh I exited with 0 regardless. 

ah, someone with more experience with restoring than me :-) 
This looks like a worthwhile feature to have.

> 2.   If a second -V is appended to the command line.
>      Display all the commands that are executed.
>      It helps if I'm trying to debug some sort of network problem. 

Also worthwhile (and easy... :-) )

> 3.   add  
>      group = 
>      in the /etc/hdup/hdup.conf
>      user = is helpful, but I prefer to apply permissions based on group. 

easy.

> 4.   If possible allow storage of  
>      backup acct = 
>      backup host = 
>      in the /etc/hdup/hdup.conf file
>      They don't need to be used, just accepted as non errors.
>      we have many machines and two massive backup servers.
>      I would like to be able to control which uses what machine 
>      from the conf file instead of modifying the 20 backup scripts. 

so, this would me moving the @remote syntax into the config file...?

>      I can always have my perl utility pull the info from the hdup.conf file.
>      however, hdup.conf barfs when it finds directives it does not know about.

don't mind my asking, what is the difference between 20 different
commandlines and 20 different configuration files? (if that is what
you want)

> 5.   This may be a long shot as it may require more work. 
>      add an hdup "list" option.
>      i.e.
>      hdup list host date
>      list on stdout the full path of all tar files that would be required
>      to do a restore as of that date.
>      I would like to use that list to create an "on demand" backup tape
>      when required for offsite storage. 
>      The list would give the all the tar files I need to dd to a tape.

That would be also easy,

As of today, I'm officially "on holiday", but I won't leave until next
week. I'll see what I can do until then,

grtz,
--Miek

--
today's fortune:
Don't shout for help at night.  You might wake your neighbors.
		-- Stanislaw J. Lem, "Unkempt Thoughts"