Skip to content

Backups

Deploying Restic on OpenStack Flex with User Data

Restic is an open-source backup tool that focuses on providing secure, efficient, and easy-to-use backups. This blog post will show you how to automatically install and configure Restic on a fresh OpenStack VM using user data (cloud-init).

Here’s what you’ll accomplish:

  1. Install Restic to /usr/local/bin.
  2. Configure a systemd service and timer that runs every 12 hours to back the /home directory.
  3. Store backups in Swift using application credentials.