Skip to content
This repository has been archived by the owner on Feb 27, 2019. It is now read-only.

Latest commit

 

History

History
46 lines (30 loc) · 1.91 KB

2014-04-22-how-to-store-your-backup-with-duplicity-and-openstack-swift.markdown

File metadata and controls

46 lines (30 loc) · 1.91 KB
layout title categories lang author
post
How to store your backup with duplicity and Openstack Swift?
Object-Storage
en
VincentCasse

Duplicity is an open source tool for backing up your files. You can find more information on the official website.

Since version 0.6.22, Swift has been on the list of available back-ends. So you can use Duplicity to send your backup on RunAbove object storage.

1. Preparation

Download Duplicity

Download Duplicity with version 0.6.22 or later. Packaged versions are available for the most widely known distributions.

Get missing information

To connect to your RunAbove object storage, you will need to have your login, password and tenant name. This information can be found in Openstack Horizon manager below current project

Create a new container

RunAbove object storage allows you to create distinct areas called containers to store your files. It's good practice to use a specific backup container. You can create it in your control panel.

Under What do you want to add?, select A storage, then define your container name and geographical region.

2. Ready to backup?

The last step before starting your backup is to define your account information for Duplicity. You must define these environment variables:

  • SWIFT_USERNAME: your username
  • SWIFT_PASSWORD: your password
  • SWIFT_AUTHURL: https://auth.runabove.io:443/v2.0
  • SWIFT_AUTHVERSION: 2
  • SWIFT_TENANTNAME: your tenant name
  • SWIFT_REGIONNAME: (optional) region where you want to store backup (BHS-1, SBG-1...) (Available in duplicity>=0.7.02)

Finally, you can back up the configuration folder in your backup container.

duplicity configuration/ swift://backup