Skip to content

Instantly share code, notes, and snippets.

@rreilly-edr
Created September 6, 2019 14:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rreilly-edr/0fd11aff9cb4e157b614cf74c9b51ddb to your computer and use it in GitHub Desktop.
Save rreilly-edr/0fd11aff9cb4e157b614cf74c9b51ddb to your computer and use it in GitHub Desktop.
Here is my Amanda.conf
######
org "xx"
mailto "rreilly@xx.com"
netusage 1000000 Kbps
dumpcycle 1 week
runspercycle 7
tapecycle 15 tapes
infofile "/etc/amanda/xx/curinfo"
logdir "/etc/amanda/xx/logs"
indexdir "/etc/amanda/xx/index"
device_property "S3_ACCESS_KEY" redacted"
device_property "S3_SECRET_KEY" redacted"
device_property "S3_SSL" "YES"
tpchanger "chg-multi:s3:xx-backup-amanda/DailySet1/slot-{01,02,03,04,05,06,07,08,09,10,11,12,13,14,15}"
#changerfile "/etc/amanda/xx/changer"
tapetype S3
define tapetype S3 {
comment "xx-backup-amanda"
length 10240 gigabytes # Bucket size 10TB
}
amrecover_changer "changer"
define dumptype global {
maxdumps 2
estimate calcsize
holdingdisk yes
index yes
}
define dumptype local-root-tar {
global
program "GNUTAR"
comment "root partitions dumped with tar"
compress none
index yes
priority low
estimate calcsize
}
define dumptype root-tar {
global
program "GNUTAR"
comment "root partitions dumped with tar"
compress none
index yes
priority low
auth "ssh"
ssh_keys "/home/backup/.ssh/id_rsa"
}
define dumptype user-tar {
root-tar
comment "user partitions dumped with tar"
priority medium
auth "ssh"
ssh_keys "/home/backup/.ssh/id_rsa"
}
define dumptype comp-user-tar {
user-tar
compress client fast
auth "ssh"
ssh_keys "/home/backup/.ssh/id_rsa"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment