By clicking or navigating this website site, you agree to allow our collection of information on Scaleway to offer you an optimal user experience and to keep track of statistics through cookies. Learn more about our Cookie Policy.

How to backup your dedicated server on Object Storage with Duplicity

Backuping your Servers Automatically

In this article, we will learn how to backup our data. We will take advantages of Scaleway’s Object Storage service and Duplicity. Duplicity is a free and open-source tool that backs up folders to a remote server. Using libsync and GPG, Duplicity is able to make space-efficient encrypted backups.

Our objectives are to:

Make production-ready automatic backups of our data.

Save cost using bandwidth and space-efficient incremental backups.

Preserve a robust layer of security and privacy with an asymmetrical encryption.

Creating an Object Storage Bucket

2 . Click Storage from the left side menu. The Storage page lists all your buckets. At first, your list is empty as you have not created any bucket yet.

3 . Click Create a Bucket to create a bucket that will store your objects.

4 . Name your bucket and validate your bucket creation. A bucket name must be unique and contain only alphanumeric and lowercase characters.

Installing Software Requirements

We are going to install Duplicity. To make sure we can generate a GPG Key, we need to create some entropy, we suggest using Haveged constantly on your sever to generate a small amount of entropy. You can find the link to the latest version of Duplicity on their website. You may replace the link used with wget if a newer version is available.