Amanda-Users

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

2005-04-14 05:20:34
Subject: AW: AW: AW: AW: AW: Problem with tape and labeling (archiving)
From: Sebastian Kösters <skoesters AT sino DOT de>
To: "'Christoph Scheeder'" <christoph.scheeder AT scheeder DOT de>
Date: Thu, 14 Apr 2005 11:15:21 +0200
You are right... i changed it

-----Ursprüngliche Nachricht-----
Von: owner-amanda-users AT amanda DOT org [mailto:owner-amanda-users AT amanda 
DOT org] Im
Auftrag von Christoph Scheeder
Gesendet: Donnerstag, 14. April 2005 11:07
An: Sebastian Kösters
Cc: amanda-users AT amanda DOT org
Betreff: Re: AW: AW: AW: AW: Problem with tape and labeling (archiving)

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