Amanda-Users

Re: AW: AW: AW: AW: Problem with tape and labeling (archiving)

2005-04-14 05:18:13
Subject: Re: AW: AW: AW: AW: Problem with tape and labeling (archiving)
From: Christoph Scheeder <christoph.scheeder AT scheeder DOT de>
To: Sebastian Kösters <skoesters AT sino DOT de>
Date: Thu, 14 Apr 2005 11:07:24 +0200
Sebastian Kösters schrieb:
The pathes are hardcoded in the script

Errm, shure?
yesterday you posted this:
[...]
>I wrote a little Script which labels the new tape (via cron).
>
>Script:
>
>#!/bin/bash
>
>#
>#counter + 1
>#
>let zahl=`cat /etc/amanda/counter`;
>let zahl=$zahl+1;
>echo $zahl > /etc/amanda/counter;
>
>#
>#Tape labeln
>#
>counter=`cat /etc/amanda/counter`;
>amlabel -f full-sonntag DailySet$counter;
[...]

there is no path for:

cat
echo
amlabel

or did you change this after posting your script?

Christoph

<Prev in Thread] Current Thread [Next in Thread>