Re: virtual-tape directory error

Tristan Rhodes <[email protected]> Wed, 15 Sep 2004 13:46:07 -0600
Newsgroups gmane.comp.sysutils.backup.sarab
Message-ID <[email protected]>
Hello Joergen,

Thanks for your input.  It is good that you are using the same configuration on the two versions of 
Debian, it will help in troubleshooting.

I am looking into the problem, I think error happens on this line of sarab.sh...

CURRENT_ARCHIVE=$(echo $CURRENT_LINE | cut -f 1 -d" ")

I believe the errors we have seen with - and _ characters could be related to how the command "cut" 
reads the delimiter.  Sarge and Woody probably have two different versions of "cut".

I will keep looking.

Tristan Rhodes

Joergen Recke wrote:
> Hello,
> 
> I run 2 copies of SaraB 0.2.2 on 2 different machines (Debian sarge & 
> woody). Except of some paths both copies have the same configuration. 
> I'm running simple daily differential backups and a full backup each week:
> 
> ----
> full1
> diff1_1 full1
> diff1_2 full1
> diff1_3 full1
> diff1_4 full1
> diff1_5 full1
> diff1_6 full1
> full2
> diff2_1 full2
> diff2_2 full2
> ...
> ----
> 
> On my sarge everything runs fine. On woody SaraB doesn't get it right. 
> The first full works perfect, the first differential not:
> 
> ----
> Top line of rotation.schedule: diff1_1 full1
> Number of fields: 2
> Creating a full-backup on the virtual-tape named: diff1_1 full1
> ...
> Creating virtual-tape directory... mkdir /_backup/diff1_1 full1/
> Moving files to the correct virtual-tape...
> mv /_backup/.sarab_temp_workdir/20040915_1924.1.dar /_backup/diff1_1 full1/
> ERROR: Error when moving the new archive. The attempted command was...
> mv /_backup/.sarab_temp_workdir/* /_backup/diff1_1 full1/
> ----
> 
> Any help would be appreciated.
> Thanks in advance,
> Joergen.

-- 
This message has been scanned for viruses and dangerous
content by MailScanner, and is believed to be clean.



-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m