Re: problem with reference archive path

Hiran Chaudhuri <[email protected]> Thu, 18 Sep 2008 00:09:01 +0200
Newsgroups gmane.comp.sysutils.backup.sarab
Message-ID <1221689341.7949.3.camel@silver>
Am Mittwoch, den 17.09.2008, 10:08 +1200 schrieb Glen Davies:
> Hi
> Thanks for this great script - has saved me a lot of time. I have just  
> one minor problem when automating a differential backup via cron. When  
> the script is run it is giving the following prompt
> 
> Warning, 09-15-2008_1004.10.dar seems more to be a slice name than a  
> base name. Do you want to replace it by 09-15-2008_1004 ? [return = OK  
> | Esc = cancel]
> 
> so, the cron fails as no answer is given. Can the script be altered so  
> it strips the .10.dar of the reference archive name so as to avoid  
> this prompt? I am running it on ubuntu 8.04

I'm wondering about two things:
1) Why do you get a file with that name at all? I never came into such a
problem.
2) Dar supports options like '-w' or '-wa'. Do they help? You'd have to
configure them in /etc/sarab/sarab.conf.

Hiran


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/