Skip to content

hacklabvalls/backup-container-lxd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages