[SOLVED]
Hello,
I'm trying to finish my first configuration of Amanda 3.3.0 (Ubuntu 12.04) but while I can dump/backup without problems on my Amazon S3 bucket, I cannot restore/recover from it and this is a BIG problem. ;)
Here is what I do:
Code:
[email protected]:# amrecover DailySet
amrecover> sethost localhost
200 Dump host set to localhost.
amrecover> setdisk /etc
200 Disk set to /etc.
amrecover> add group
Added file /group
amrecover> extract
Extracting files using tape drive changer on host localhost.
The following tapes are needed: Daily-2
Extracting files using tape drive changer on host localhost.
Load tape Daily-2 now
Continue [?/Y/n/s/d]?
amrecover - can't talk to tape server: service amidxtaped:
I think the problem is on the host it's trying to use "Extracting files using tape drive changer on host localhost" while it should use the S3 bucket, unfortunately I cannot understand how to configure this thing.
These are some of my configs, please ask if you need more.
Can you help me?
Thanks
/etc/amanda/DailySet/amanda.conf
Code:
[...]
# amazonaws S3
device_property "S3_ACCESS_KEY" "MYKEY"
device_property "S3_SECRET_KEY" "MYSECRET"
device_property "S3_SSL" "YES"
define changer s3 {
tpchanger "chg-multi:s3:MYBUCKET/DailySet/slot-{01,02,03,04,05,06,07,08,09,10}" # Number of tapes in your "tapecycle"
}
tpchanger "s3"
changerfile "s3-statefile"
tapetype S3
define tapetype S3 {
comment "S3 Bucket"
length 10240 gigabytes # Bucket size 10TB
}
define dumptype global {
comment "Global definitions"
auth "bsdtcp"
}
define application-tool app_amgtar {
comment "amgtar"
plugin "amgtar"
}
define dumptype gui-base {
global
program "APPLICATION"
application "app_amgtar"
comment "gui base dumptype dumped with tar"
compress none
index yes
}
[...]
amandahosts
Code:
localhost backup
localhost root amindexd amdump amidxtaped