Outils personnels

Amanda installation

De wikiGite

Debian

apt-get update
apt-get install amanda-server

Configuration

# su backup -c "mkdir /etc/amanda/DailySet1"
# vi /etc/amanda/DailySet1/amanda.conf
org "DailySet1"         # your organization name for reports
mailto "backup_admin@mydomain.com"          # space separated list of operators at your site
dumpuser "backup"       # the user to run dumps under

logdir   "/etc/amanda/DailySet1/logs"           # log directory
infofile "/etc/amanda/DailySet1/curinfo"        # database filename
indexdir "/etc/amanda/DailySet1/index"          # index directory
tapelist "/etc/amanda/DailySet1/tapelist"       # list of used tapes

tapecycle 9 tapes
tapetype DISK
tpchanger "chg-disk"
changerfile "/etc/amanda/DailySet1/changer" # needed by amlabel
tapedev "file:/space/vtapes/DailySet1/slots"

define tapetype DISK {
  comment "Backup to HD"
  length 5 gbytes
}

# comment holding disk section if needed
#holdingdisk hd1 {
#  directory "/dumps/"
#}

# to be used by any other dumptype
define dumptype global {
  comment "Global definitions"
  index yes
  record yes
  auth "bsdtcp"
}
define dumptype daily {
  global
  comment "daily dumptype"
  compress client fast
  program "GNUTAR"
  strategy standard
  priority high
  exclude list "/etc/amanda/DailySet1/global-debian-exclude.list"
}

Voir http://wiki.zmanda.com/man/amanda.conf.5.html.

On ne définit pas de "holding disk" car on a pas besoin de répertoire tampon avant d'envoyer vers une bande, on est directement sur le disque.