From 9ca05ed0f5e235260510b6e533463ed5ca2942d4 Mon Sep 17 00:00:00 2001 From: Thorsten Spille Date: Fri, 30 Jun 2023 11:45:29 +0200 Subject: [PATCH] Set backup=1 or lxc mountpooint --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index b504d9f..ab91868 100755 --- a/install.sh +++ b/install.sh @@ -148,7 +148,7 @@ fi sleep 2 if [ $LXC_MP -gt 0 ]; then - pct set $LXC_NBR -mp0 $LXC_SHAREFS_STORAGE:$LXC_SHAREFS_SIZE,mp=/$LXC_SHAREFS_MOUNTPOINT + pct set $LXC_NBR -mp0 $LXC_SHAREFS_STORAGE:$LXC_SHAREFS_SIZE,backup=1,mp=/$LXC_SHAREFS_MOUNTPOINT fi sleep 2; @@ -182,4 +182,4 @@ if [[ $service == "zmb-ad" ]]; then elif [[ $service == "zmb-ad-join" ]]; then pct set $LXC_NBR -nameserver "${LXC_IP%/*} $LXC_DNS" fi -pct start $LXC_NBR \ No newline at end of file +pct start $LXC_NBR