Files
lxc_backup/README.md
2019-08-03 21:00:03 +02:00

449 B

lcx_backup

Backupscript for LXC Container

This script creates a copy of all running containers, backs them up (via lxc export) and deletes them afterwards.
Copys are created to prevent database inconsistencies -> copies are way faster than exports

Default backuppath for lxd snap installs are /var/snap/lxd/common/lxd/backups you can simlink this dir to your favorite backup destination
In this script its /home/rick-monitoring/backup/