lxc -> incus

This commit is contained in:
2025-03-23 11:26:28 +01:00
parent b0067645ba
commit 1b0b27d94a
12 changed files with 155 additions and 113 deletions

View File

@@ -8,7 +8,7 @@ NOW=$(date +'%Y-%m-%d')
echo $(date) "Starting backup of LXD ..."
## Dump LXD server config ##
echo $(date) "Making backup of lxd.config ..."
lxd init --dump >"/nfs/nas/LXD-Backup/lxd.config.${NOW}"
lxc init --dump >"/nfs/nas/LXD-Backup/lxd.config.${NOW}"
## Dump all instances list ##
echo $(date) "Making backup of lxd.instances.list ..."
@@ -16,6 +16,6 @@ lxc list >"/nfs/nas/LXD-Backup/lxd.instances.list.${NOW}"
## Make sure we know LXD version too ##
echo $(date) "Making backup of lxd.version ..."
snap list lxd >"/nfs/nas/LXD-Backup/lxd-version.${NOW}"
snap list lxc >"/nfs/nas/LXD-Backup/lxd-version.${NOW}"
echo $(date) "Backup of LXD ended."