Links

Restic

Learn how to configure Restic for use with Filebase.

What is Restic?

Restic is a secure and highly performant backup command-line tool for Linux and macOS X systems.
Read below to learn how to use Restic with Filebase.

Prerequisites:

  • Sign up for a free Filebase account.
  • Have your Filebase Access and Secret Keys. Learn how to view your access keys here.
  • Create a Filebase Bucket. Learn how to create a bucket here.

1. Unset the default configuration file for Restic:

unset HISTFILE

2. Export the following environmental variables for use with Restic:

export RESTIC_REPOSITORY="s3:https://s3.filebase.com/filebase-bucket-name”
export AWS_ACCESS_KEY_ID="your-Filebase-Access-Key”
export AWS_SECRET_ACCESS_KEY="your-Filebase-Secret-Key”
export RESTIC_PASSWORD="Password-for-Restic”

3. Use the following command to upload a Restic backup to Filebase:

restic init created restic backend backup-name at s3:https://s3.filebase.com/filebase-bucket-name

4. Confirm that your backup from Restic has been uploaded to Filebase by viewing your bucket on the Filebase web console:

If you have any questions, please join our Discord server, or send us an email at [email protected]