Skip to content
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
34 lines (21 sloc) 1.7 KB


With lxc-duply-backup you can generate Deb or RPM packages that automatically backup Linux Containers. It makes use of duply and cron jobs.

The origins of lxc-duply-backup can be found in my blog post.

Containers are stopped before the backup and started right after the backup to make sure the backups are clean. Otherwise data might still be in memory and not on disk.

Dependencies (for building packages)

Or take a look at basalt.

Dependencies (for the package itself)

Debian/Ubuntu: apt-get install lxc duply


  1. Create your own config. Most likely you want to change the package name, the paths to the config files (with the container name), the config path and container name.
  2. And build the package: invoke build_deb --config configs/my_new_config.yaml


Public Domain

You can’t perform that action at this time.