Tools to create, save and restore lxc containers.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Xala 231b996588 first commit 2 years ago
clm-config first commit 2 years ago
README.md first commit 2 years ago
cct first commit 2 years ago
install.sh first commit 2 years ago
lxc-restore first commit 2 years ago
lxc-save first commit 2 years ago

README.md

lxc-tools

Tools to create, save and restore lxc containers.

Install

Run install.sh whit root privilege.

Usage

cct

Create new lxc container:

cct [-n <clm-name> -4 <ipv4/cidr> -6 <ipv6/cidr> -p <package1,package2,...>]

Show help:

cct -h

lxc-save

Run:

lxc-save <lxc-name>

Edit script /usr/local/bin/lxc-save for set your backups repository (default: /opt/lxc-backups)

BCK_DIR="/opt/lxc-backups"

lxc-restore

Run:

lxc-restore <lxc-name>

Edit script /usr/local/bin/lxc-restore for set your backups repository (default: /opt/lxc-backups)

BCK_DIR="/opt/lxc-backups"