another lxc path fix

This commit is contained in:
rick
2019-08-05 20:26:05 +02:00
parent 00fc191d0a
commit a6b111af7c

View File

@@ -20,7 +20,7 @@ then
exit 2
fi
for container in $(lxc list --format csv -c n | grep -v backup);
for container in $(${lxccmd} list --format csv -c n | grep -v backup);
do
${lxccmd} copy ${container} ${container}-backup
${lxccmd} export ${container}-backup ${backuppath}$(date +%Y_%m_%d)-${container}.tar.gz --optimized-storage