Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 500 Bytes

README.md

File metadata and controls

15 lines (8 loc) · 500 Bytes

backup-container-lxd

Bash script to generete backups of Linux Containers with LXD.

Create snapshot, publish image of snapshot and export image tar.gz compressed file. If backup success, delete previous spanshot, image and compressed backup. Ideal for daily cron

  • Add execution permission:

chmod +x backup-container.sh

  • Execution:

./backup-container.sh <container-name>

Wiki hacklab