159ccb766533d001b569a870ee74ec14818d9095
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/
Languages
Shell
100%