Comments on Disk Based Backups With Amanda On Debian Etch

Disk Based Backups With Amanda On Debian Etch This document describes how to set up Amanda (The Advanced Maryland Automatic Network Disk Archiver) on Debian Etch. For this tutorial I chose Ubuntu v7.04 as a backup-client. The resulting system provides a flexible backup-system with many features. It will be able to back up multiple hosts via network to various devices. I chose the disk based backup for this howto.

3 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Scott

Hi, I'm following your guide to set up Amanda on Ubuntu. I'm using Ubuntu 8.04 but everything so far has gone well in the installation except when I get to the last step in 3.2 where it says:

 

We have to label the virtual tapes to make them usable for amanda:

for i in 1 2 3 4 5 6; do /usr/sbin/amlabel DailySet1 DailySet1-${i} slot ${i}; done

 

 When i enter this command having followed every step of the guide to the letter, I get the following output:

$ for i in 1 2 3 4 5 6 7; do /usr/sbin/amlabel DailySet1 DailySet1-${i} slot ${i}; done

labeling tape in slot 1 (file:/storage/amanda/DailySet1):

rewindingERROR: /storage/amanda/DailySet1/data/ (No such file or directory)

ERROR: /storage/amanda/DailySet1/data/ (No such file or directory)


amlabel: tape_rewind: rewinding tape: file:/storage/amanda/DailySet1: Input/output error

labeling tape in slot 2 (file:/storage/amanda/DailySet1):

rewindingERROR: /storage/amanda/DailySet1/data/ (No such file or directory)

ERROR: /storage/amanda/DailySet1/data/ (No such file or directory)


amlabel: tape_rewind: rewinding tape: file:/storage/amanda/DailySet1: Input/output error

labeling tape in slot 3 (file:/storage/amanda/DailySet1):

rewindingERROR: /storage/amanda/DailySet1/data/ (No such file or directory)

ERROR: /storage/amanda/DailySet1/data/ (No such file or directory)


amlabel: tape_rewind: rewinding tape: file:/storage/amanda/DailySet1: Input/output error

labeling tape in slot 4 (file:/storage/amanda/DailySet1):

rewindingERROR: /storage/amanda/DailySet1/data/ (No such file or directory)

ERROR: /storage/amanda/DailySet1/data/ (No such file or directory)


amlabel: tape_rewind: rewinding tape: file:/storage/amanda/DailySet1: Input/output error

labeling tape in slot 5 (file:/storage/amanda/DailySet1):

rewindingERROR: /storage/amanda/DailySet1/data/ (No such file or directory)

ERROR: /storage/amanda/DailySet1/data/ (No such file or directory)


amlabel: tape_rewind: rewinding tape: file:/storage/amanda/DailySet1: Input/output error

labeling tape in slot 6 (file:/storage/amanda/DailySet1):

rewindingERROR: /storage/amanda/DailySet1/data/ (No such file or directory)

ERROR: /storage/amanda/DailySet1/data/ (No such file or directory)


amlabel: tape_rewind: rewinding tape: file:/storage/amanda/DailySet1: Input/output error

amlabel: could not load slot "7": illegal slot

 

Is this just because I'm using Ubu 8.04 instead of Dapper?

By: Anonymous

Your ubuntu installation uses /storage/amanda/... in stead of /dump/..... that is used in the example. Adjust the commands in the tutorial to ues /storage/.... instead

By: Scott

Ahh, looks like the step I missed was to configure amanda.conf to look in the right /amandatapes/ dir

 Many thanks for the guide! :)