Mudanças entre as edições de "Adicionar Fitas"

De Instituto de Física - UFRGS
Linha 19: Linha 19:
 
* Editar arquivo changer.conf
 
* Editar arquivo changer.conf
 
  vim /etc/amanda/mensal/changer.conf
 
  vim /etc/amanda/mensal/changer.conf
 +
 +
multieject 0
 +
  gravity 0
 +
  needeject 0
 +
  ejectdelay 0
 +
 +
  statefile /var/lib/amanda/mensal/changer-status
 +
 +
  firstslot 1
 +
  lastslot 5
 +
 +
  slot 1 file:/mensal/mensal_1
 +
  slot 2 file:/mensal/mensal_2
 +
  slot 3 file:/mensal/mensal_3
 +
  slot 4 file:/mensal/mensal_4
 +
  slot 5 file:/mensal/mensal_5

Edição das 15h18min de 11 de abril de 2011

Configuração Backup Mensal:

  • Editar arquivo amanda.conf
cd /etc/amanda/mensal/
vim amanda.conf
dumpcycle 30 #número de dias de backups completos
tapecycle 5 tapes
infofile  "/mensal/logs/curinfo"
logdir    "/mensal/logs"
indexdir  "/mensal/logs/index"
tpchanger "chg-disk"
changerfile "/etc/amanda/mensal/changer"
tapedev "file:/mensal/slots"
tapetype HARDDISK
labelstr "mensal_[1-5]*"


  • Editar arquivo changer.conf
vim /etc/amanda/mensal/changer.conf
multieject 0
 gravity 0
 needeject 0
 ejectdelay 0
 statefile /var/lib/amanda/mensal/changer-status
 firstslot 1
 lastslot 5
 slot 1 file:/mensal/mensal_1
 slot 2 file:/mensal/mensal_2
 slot 3 file:/mensal/mensal_3
 slot 4 file:/mensal/mensal_4
 slot 5 file:/mensal/mensal_5