LXD Backup script

This small Bash script will create an online backup your LXC container with help of Rclone and a custom bash script called lxdbackup I wrote to facilitate backups. With this combination you can backup your LCX containers to Amazon S3 or Openstack Swift.

What does it do:

This scripts creates a backup image from a snapshot from your LXC container that is managed with LXD.

The script will upload your image to a cloudstorage with Rclone.

Online backup of your LXC container

Creates an easy and ready to use LXC image to import with the LXC import command.