lxc-backup


I've found the lxc container technology exceptionally lightweight and resources-saving.

This scrips restores a lxc container with lvm backing store from smb network share. It completes the suite of commands needed to manage a lxc infrastructure.

Arguments:

container name, share. The rest is interactive

Prerequisite: packages pv, cifs-utils, moreutils installed



Usage:


lxc-restore.sh lxc_name //server/share


Download