From 6b7bd700ddafa6f889d9cae42d1aa538ed204661 Mon Sep 17 00:00:00 2001 From: benoit Date: Sat, 12 Sep 2020 05:29:24 +0000 Subject: [PATCH] backups & images --- HowtoLXD.page | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/HowtoLXD.page b/HowtoLXD.page index cdbc34e..bdacdc1 100644 --- a/HowtoLXD.page +++ b/HowtoLXD.page @@ -15,6 +15,12 @@ lxc storage volume list # mode privileged lxc launch ubuntu:16.04 test -c security.privileged=true -c security.nesting=true lxc config device add test ssh proxy listen=tcp:0.0.0.0:2222 connect=tcp:127.0.0.1:22 +# Create a backups volume in the local (default) pool (ZFS) and use it for backups +lxc storage volume create local backups +lxc config set storage.backups_volume local/backups +# Create a images volume in the local (default) pool (ZFS) and use it for images (containers images downloaded) +lxc storage volume create local images +lxc config set storage.images_volume local/images ``` Chemins :