iSimon,

Read the amanda-devices manpage: http://wiki.zmanda.com/man/amanda-devices.7.html

The Amanda S3 device works with OpenStack Swift.

An example:
define changer swift {
  tpchanger "chg-multi:s3:BUCKET/LABEL{1..6}"
  changerfile "/etc/amanda/CONFIG/swift.state"
device_property "comment" "http://wiki.zmanda.com/man/amanda-devices.7.html";
  device_property "BLOCK_SIZE"    "2097152"
  device_property "S3_SSL"        "yes"
  device_property "S3_SUBDOMAIN"  "no"
  device_property "S3_HOST"       "HOST:35357"
  device-property "S3_SERVICE_PATH" "/v2.0/tokens"
  device-property "USERNAME" "MY-USERNAME"
  device-property "PASSWORD" "MY-PASSWORD"
  device-property "TENANT_NAME" "MY-TENANT_NAME"
  device-property "VERBOSE" "YES"
  device-property "STORAGE-API" "SWIFT-2.0"
}

You must set either USERNAME and PASSWORD or S3_ACCESS_KEY and S3_SECRET_KEY
You must set either TENANT_NAME or TENANT_ID

Jean-Louis

On 28/02/17 01:39 AM, Simon Michnowicz wrote:
Dear Mailing List
I am just new to Amanda Community Edition and was wondering how easy it was to configure it to use OpenStack object storage. I notice an Amazon S3 device
http://wiki.zmanda.com/index.php/How_To:Backup_to_Amazon_S3
but do not know how to change this to point to a particular swift storage server. Are there any examples I could look at to see how this works? Id be also interested in how Amanda determines if a file needs to be updated on the storage. Does it have its own internal DB or does it look inside the virtual tapes to do this?

thanks for any assistance/pointers
regards

*---
Simon Michnowicz *
Senior Application Specialist, High-Performance Computing

*Research Support Services - eSolutions*
*Monash eResearch Centre*
Monash University
15 Innovation Walk, Building 75, Clayton Campus
Wellington Road, VIC 3800
Australia

T: +61 3 9902 0794
M: +61 3 0418 302 046
E: [email protected] <mailto:[email protected]>
monash.edu <http://monash.edu/>

Reply via email to