From c66109b522b72c8fad6a81dbc81d30eb46a72b8a Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 21 Jan 2022 17:41:24 -0500 Subject: [PATCH] Update npm-copy-data.sh --- misc/npm-copy-data.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/misc/npm-copy-data.sh b/misc/npm-copy-data.sh index 36b523a5..5676f5f4 100644 --- a/misc/npm-copy-data.sh +++ b/misc/npm-copy-data.sh @@ -93,8 +93,8 @@ CTID_TO_PATH=$(pct mount $CTID_TO | sed -n "s/.*'\(.*\)'/\1/p") || \ [ -d "${CTID_TO_PATH}${DATA_PATH}" ] || \ die "Nginx Proxy Manager directories in '$CTID_TO' not found." -#rm -rf ${CTID_TO_PATH}${DATA_PATH} -#mkdir ${CTID_TO_PATH}${DATA_PATH} +rm -rf ${CTID_TO_PATH}${DATA_PATH} +mkdir ${CTID_TO_PATH}${DATA_PATH} msg "Copying Data Between Containers..." RSYNC_OPTIONS=( @@ -113,4 +113,4 @@ info "Successfully Transferred Data." # Use to copy all data from one Nginx Proxy Manager LXC to another # run from the Proxmox Shell -# bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/misc/npm-copy-data.sh)" \ No newline at end of file +# bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/misc/npm-copy-data.sh)"