Amanda-Users

A puzzle on doing amlabel DailySet1 DailySet1-0$i slot $i

2007-12-19 04:17:13
Subject: A puzzle on doing amlabel DailySet1 DailySet1-0$i slot $i
From: june <jun.liu AT huawei DOT com>
To: amanda-users AT amanda DOT org
Date: Wed, 19 Dec 2007 17:06:07 +0800
Hi all,
I install amanda 2.5.2p1 on suse10 .
According to "http://www.zmanda.com/quick-backup-setup.html",
I encountered a puzzle as following:

amandabackup@linux-w4vf:/space/vtapes/DailySet1/slots> ls
data slot1 slot11 slot13 slot15 slot17 slot19 slot20 slot22 slot24 slot3 slot5 slot7 slot9
info slot10 slot12 slot14 slot16 slot18 slot2 slot21 slot23 slot25 slot4 slot6 slot8
amandabackup@linux-w4vf:/space/vtapes/DailySet1/slots> ammt -f file:/space/vtapes/DailySet1/slots status
file:/space/vtapes/DailySet1/slots status: ONLINE
amandabackup@linux-w4vf:/space/vtapes/DailySet1/slots> for ((i=1; $i<=9;i++)); do amlabel DailySet1 DailySet1-0$i slot $i; done
Insert tape into slot 1 and press return
Insert tape into slot 1 and press return
Insert tape into slot 1 and press return
Insert tape into slot 1 and press return
Insert tape into slot 1 and press return
Insert tape into slot 1 and press return
Insert tape into slot 1 and press return
Insert tape into slot 1 and press return
Insert tape into slot 1 and press return



I hope your tips, Thanks!!!!!!!!!!!
 

ljun
<Prev in Thread] Current Thread [Next in Thread>
  • A puzzle on doing amlabel DailySet1 DailySet1-0$i slot $i, june <=