Skip to content

brejoc/lxc-duply-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lxc-duply-backup

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.

Attention:
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

Usage

  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

License

Public Domain

About

Example config and scripts to perform a clean backup of Linux Containers. Therefore the containers are stopped right before the backup and started right after the backup.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published