Skip to content

Instantly share code, notes, and snippets.

@felipe-prenholato
Created June 14, 2012 01:16
Show Gist options
  • Save felipe-prenholato/2927536 to your computer and use it in GitHub Desktop.
Save felipe-prenholato/2927536 to your computer and use it in GitHub Desktop.
Amanda configuration
# /etc/amanda/felipe/VPS01/amanda.conf
# Configuration for felipe vps at 173.230.241.146
# - One full per week, Six incremental
# - 14 types
org "FELIPE-VPS01"
mailto "felipe"
dumpuser "felipe"
inparallel 2
netusage 1000 Kbps # maximum net bandwidth for Amanda, in KB per sec
dumpcycle 7 days
tapecycle 18 # 7 por dia da semana (por 2 semanas) + umas extras para caso precise rodar o amflush e não sobreescreva os backups full
runtapes 1
tpchanger "chg-multi"
changerfile "/etc/amanda/felipe/VPS01/changer.conf
tapetype HARD-DISK
labelstr "^felipe-VPS01-[0-9][0-9]*$"
infofile "/home/felipe/amanda/VPS01/curinfo"
logdir "/home/felipe/amanda/VPS01/log"
indexdir "/home/felipe/amanda/VPS01/index"
amrecover_changer "chg-multi"
define dumptype hard-disk {
auth "bsd"
compress client best
holdingdisk no
index yes
kencrypt yes
priority high
tape_splitsize 300Mb
}
define tapetype HARD-DISK {
length 50000 mbytes #50GB
}
Hostname: 59398
Org : FELIPE-VPS01
Config : felipe/VPS01
Date : June 13, 2012
The next tape Amanda expects to use is: 1 new tape.
The next new tape already labelled is: felipe-VPS01-01.
FAILURE DUMP SUMMARY:
felipe-VPS01 /etc RESULTS MISSING
felipe-VPS01 /opt RESULTS MISSING
felipe-VPS01 /home/sentry RESULTS MISSING
felipe-VPS01 /home/handrus RESULTS MISSING
felipe-VPS01 /home/rjdsantos RESULTS MISSING
felipe-VPS01 /home/git RESULTS MISSING
felipe-VPS01 /home/pti RESULTS MISSING
felipe-VPS01 /home/felipe RESULTS MISSING
felipe-VPS01 /usr/local/ispconfig RESULTS MISSING
felipe-VPS01 /root RESULTS MISSING
felipe-VPS01 /var/log RESULTS MISSING
felipe-VPS01 /var/lib RESULTS MISSING
felipe-VPS01 /var/opt RESULTS MISSING
felipe-VPS01 /var/www RESULTS MISSING
felipe-VPS01 /var/cache/apache2 RESULTS MISSING
felipe-VPS01 /var/cache/apache2/mod_disk_cache RESULTS MISSING
felipe-VPS01 /var/cache/dictionaries-common RESULTS MISSING
felipe-VPS01 /var/cache/postgresql RESULTS MISSING
felipe-VPS01 /var/cache/postgresql/dicts RESULTS MISSING
felipe-VPS01 /var/cache/git RESULTS MISSING
felipe-VPS01 /var/cache/bind RESULTS MISSING
felipe-VPS01 /var/cache/awstats RESULTS MISSING
felipe-VPS01 /var/local RESULTS MISSING
felipe-VPS01 /var/mail RESULTS MISSING
felipe-VPS01 /var/vmail RESULTS MISSING
felipe-VPS01 /var/spool RESULTS MISSING
planner: ERROR Request to felipe-VPS01 failed: timeout waiting for ACK
STATISTICS:
Total Full Incr.
-------- -------- --------
Estimate Time (hrs:min) 0:01
Run Time (hrs:min) 0:01
Dump Time (hrs:min) 0:00 0:00 0:00
Output Size (meg) 0.0 0.0 0.0
Original Size (meg) 0.0 0.0 0.0
Avg Compressed Size (%) -- -- --
Filesystems Dumped 0 0 0
Avg Dump Rate (k/s) -- -- --
Tape Time (hrs:min) 0:00 0:00 0:00
Tape Size (meg) 0.0 0.0 0.0
Tape Used (%) 0.0 0.0 0.0
Filesystems Taped 0 0 0
Chunks Taped 0 0 0
Avg Tp Write Rate (k/s) -- -- --
NOTES:
planner: Adding new disk felipe-VPS01:/etc.
planner: Adding new disk felipe-VPS01:/opt.
planner: Adding new disk felipe-VPS01:/home/sentry.
planner: Adding new disk felipe-VPS01:/home/handrus.
planner: Adding new disk felipe-VPS01:/home/rjdsantos.
planner: Adding new disk felipe-VPS01:/home/git.
planner: Adding new disk felipe-VPS01:/home/pti.
planner: Adding new disk felipe-VPS01:/home/felipe.
planner: Adding new disk felipe-VPS01:/usr/local/ispconfig.
planner: Adding new disk felipe-VPS01:/root.
planner: Adding new disk felipe-VPS01:/var/log.
planner: Adding new disk felipe-VPS01:/var/lib.
planner: Adding new disk felipe-VPS01:/var/opt.
planner: Adding new disk felipe-VPS01:/var/www.
planner: Adding new disk felipe-VPS01:/var/cache/apache2.
planner: Adding new disk felipe-VPS01:/var/cache/apache2/mod_disk_cache.
planner: Adding new disk felipe-VPS01:/var/cache/dictionaries-common.
planner: Adding new disk felipe-VPS01:/var/cache/postgresql.
planner: Adding new disk felipe-VPS01:/var/cache/postgresql/dicts.
planner: Adding new disk felipe-VPS01:/var/cache/git.
planner: Adding new disk felipe-VPS01:/var/cache/bind.
planner: Adding new disk felipe-VPS01:/var/cache/awstats.
planner: Adding new disk felipe-VPS01:/var/local.
planner: Adding new disk felipe-VPS01:/var/mail.
planner: Adding new disk felipe-VPS01:/var/vmail.
planner: Adding new disk felipe-VPS01:/var/spool.
driver: WARNING: got empty schedule from planner
DUMP SUMMARY:
DUMPER STATS TAPER STATS
HOSTNAME DISK L ORIG-kB OUT-kB COMP% MMM:SS KB/s MMM:SS KB/s
-------------------------- ------------------------------------- -------------
felipe-VPS01 /etc MISSING -------------------------------------------
felipe-VPS01 -ome/felipe MISSING -------------------------------------------
felipe-VPS01 /home/git MISSING -------------------------------------------
felipe-VPS01 -me/handrus MISSING -------------------------------------------
felipe-VPS01 /home/pti MISSING -------------------------------------------
felipe-VPS01 -/rjdsantos MISSING -------------------------------------------
felipe-VPS01 -ome/sentry MISSING -------------------------------------------
felipe-VPS01 /opt MISSING -------------------------------------------
felipe-VPS01 /root MISSING -------------------------------------------
felipe-VPS01 -/ispconfig MISSING -------------------------------------------
felipe-VPS01 -he/apache2 MISSING -------------------------------------------
felipe-VPS01 -disk_cache MISSING -------------------------------------------
felipe-VPS01 -he/awstats MISSING -------------------------------------------
felipe-VPS01 -cache/bind MISSING -------------------------------------------
felipe-VPS01 -ies-common MISSING -------------------------------------------
felipe-VPS01 -/cache/git MISSING -------------------------------------------
felipe-VPS01 -postgresql MISSING -------------------------------------------
felipe-VPS01 -esql/dicts MISSING -------------------------------------------
felipe-VPS01 /var/lib MISSING -------------------------------------------
felipe-VPS01 /var/local MISSING -------------------------------------------
felipe-VPS01 /var/log MISSING -------------------------------------------
felipe-VPS01 /var/mail MISSING -------------------------------------------
felipe-VPS01 /var/opt MISSING -------------------------------------------
felipe-VPS01 /var/spool MISSING -------------------------------------------
felipe-VPS01 /var/vmail MISSING -------------------------------------------
felipe-VPS01 /var/www MISSING -------------------------------------------
(brought to you by Amanda version 2.6.1p2)
# /etc/amanda/felipe/VPS01/changer.conf
multieject 0
gravity 0
needeject 0
ejectdelay 0
statefile /home/felipe/amanda/VPS01/changer-status
firstslot 1
lastslot 18
slot 1 file:/home/felipe/amanda/VPS01/backup/tape-01
slot 2 file:/home/felipe/amanda/VPS01/backup/tape-02
slot 3 file:/home/felipe/amanda/VPS01/backup/tape-03
slot 4 file:/home/felipe/amanda/VPS01/backup/tape-04
slot 5 file:/home/felipe/amanda/VPS01/backup/tape-05
slot 6 file:/home/felipe/amanda/VPS01/backup/tape-06
slot 7 file:/home/felipe/amanda/VPS01/backup/tape-07
slot 8 file:/home/felipe/amanda/VPS01/backup/tape-08
slot 9 file:/home/felipe/amanda/VPS01/backup/tape-09
slot 10 file:/home/felipe/amanda/VPS01/backup/tape-10
slot 11 file:/home/felipe/amanda/VPS01/backup/tape-11
slot 12 file:/home/felipe/amanda/VPS01/backup/tape-12
slot 13 file:/home/felipe/amanda/VPS01/backup/tape-13
slot 14 file:/home/felipe/amanda/VPS01/backup/tape-14
slot 15 file:/home/felipe/amanda/VPS01/backup/tape-15
slot 16 file:/home/felipe/amanda/VPS01/backup/tape-16
slot 17 file:/home/felipe/amanda/VPS01/backup/tape-17
slot 18 file:/home/felipe/amanda/VPS01/backup/tape-18
# /etc/amanda/felipe/VPS01/disklist
felipe-VPS01 /etc hard-disk
felipe-VPS01 /opt hard-disk
felipe-VPS01 /home/sentry hard-disk
felipe-VPS01 /home/handrus hard-disk
felipe-VPS01 /home/rjdsantos hard-disk
felipe-VPS01 /home/git hard-disk
felipe-VPS01 /home/pti hard-disk
felipe-VPS01 /home/felipe hard-disk
felipe-VPS01 /usr/local/ispconfig hard-disk
felipe-VPS01 /root hard-disk
felipe-VPS01 /var/log hard-disk
felipe-VPS01 /var/lib hard-disk
felipe-VPS01 /var/opt hard-disk
felipe-VPS01 /var/www hard-disk
felipe-VPS01 /var/cache/apache2 hard-disk
felipe-VPS01 /var/cache/apache2/mod_disk_cache hard-disk
felipe-VPS01 /var/cache/dictionaries-common hard-disk
felipe-VPS01 /var/cache/postgresql hard-disk
felipe-VPS01 /var/cache/postgresql/dicts hard-disk
felipe-VPS01 /var/cache/git hard-disk
felipe-VPS01 /var/cache/bind hard-disk
felipe-VPS01 /var/cache/awstats hard-disk
felipe-VPS01 /var/local hard-disk
felipe-VPS01 /var/mail hard-disk
felipe-VPS01 /var/vmail hard-disk
felipe-VPS01 /var/spool hard-disk
root@59398:~# cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 59398.box.local 59398
# amanda use that
<my-ip-here> felipe-VPS01
root@59398:~# cat /etc/amandahosts
localhost backup
localhost felipe
felipe-VPS01 felipe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment