Page last modified 21:20, 21 Apr 2006 by Ppragin?
Zmanda Documentation > Sample Amanda configuraton using Vitual Tapes for Disk backup

Sample Amanda configuraton using Vitual Tapes for Disk backup

Table of contents
No headers

Here is a Quick Setup for configuration with a virtual tape changer, emulating tapes on disk:
1. Please use the amserverconfig to create a basic 25 tape virtual tape library with a config name "DailySet1"

-bash-3.00$ amserverconfig DailySet1 --template harddisk
Logging to /tmp/amanda/amserverconfig.20060421150051.debug
/var/lib/amanda/gnutar-lists directory exists
/etc/amanda/DailySet1/amanda.conf created and updated
/etc/amanda/template.d/dumptypes exists, new copy in /etc/amanda/template.d/dumptypes.N
/etc/amanda/template.d/tapetypes exists, new copy in /etc/amanda/template.d/tapetypes.N
/etc/amanda/DailySet1/advanced.conf created and updated
curinfo and index directory created
tapelist file created
disklist file created
creating vtape directory
amlabel vtapes
DONE.

2. Edit the /etc/amanda/DailySet1/amanda.conf to make some changes contingent on your environment and your scheduling:

org "DailySet1"             # your organization name for reports
mailto "amandabackup"          # space separated list of operators at your site
dumpcycle 1 week               # the number of days in the normal dump cycle
runspercycle 5                 # the number of amdump runs in dumpcycle days


3. Edit the /etc/amanda/DailySet1/disklist file to add the client, file system and dumptype information:

clent_host_name /boot comp-user-tar

4. In order to test your new configuration please run this command:

-bash-3.00$ amcheck DailySet1
Amanda Tape Server Host Check
-----------------------------
slot 25: read label `DailySet1-25', date `20060421151922'
slot 1: read label `DailySet1-1', date `X'
NOTE: skipping tape-writable test
Tape DailySet1-1 label ok
Server check took 0.388 seconds
Amanda Backup Client Hosts Check
--------------------------------
Client check: 1 host checked in 0.058 seconds, 0 problems found
(brought to you by Amanda 2.5.0)

5. You are not ready to run a test backup using amdump:

amdump DailySet1

6. You should now get a confirmation e-mail that you backup was completed and you can also look at the log file on the server:

-bash-3.00$ pwd
/etc/amanda/DailySet1
-bash-3.00$ cat log.20060421151922.0
DISK planner clent_host_name /boot
START planner date 20060421151922
START driver date 20060421151922
INFO planner Adding new disk clent_host_name:/boot.
STATS driver startup time 0.077
FINISH planner date 20060421151922 time 0.131
START taper datestamp 20060421151922 label DailySet1-25 tape 0
SUCCESS dumper clent_host_name /boot 20060421151922 0 [sec 0.778 kb 2922 kps 3754.1 orig-kb 3630]
SUCCESS taper clent_host_name /boot 20060421151922 0 [sec 0.823 kb 2976 kps 3612.5 {wr: writers 93 rdwait 0.783 wrwait 0.037 filemark 0.000}]
INFO taper tape DailySet1-25 kb 2976 fm 1 [OK]
FINISH driver date 20060421151922 time 3.764