mirror of https://github.com/tteck/Proxmox.git
Update npm-copy-data.sh
parent
fded7a856b
commit
c66109b522
|
@ -93,8 +93,8 @@ CTID_TO_PATH=$(pct mount $CTID_TO | sed -n "s/.*'\(.*\)'/\1/p") || \
|
||||||
[ -d "${CTID_TO_PATH}${DATA_PATH}" ] || \
|
[ -d "${CTID_TO_PATH}${DATA_PATH}" ] || \
|
||||||
die "Nginx Proxy Manager directories in '$CTID_TO' not found."
|
die "Nginx Proxy Manager directories in '$CTID_TO' not found."
|
||||||
|
|
||||||
#rm -rf ${CTID_TO_PATH}${DATA_PATH}
|
rm -rf ${CTID_TO_PATH}${DATA_PATH}
|
||||||
#mkdir ${CTID_TO_PATH}${DATA_PATH}
|
mkdir ${CTID_TO_PATH}${DATA_PATH}
|
||||||
|
|
||||||
msg "Copying Data Between Containers..."
|
msg "Copying Data Between Containers..."
|
||||||
RSYNC_OPTIONS=(
|
RSYNC_OPTIONS=(
|
||||||
|
@ -113,4 +113,4 @@ info "Successfully Transferred Data."
|
||||||
|
|
||||||
# Use to copy all data from one Nginx Proxy Manager LXC to another
|
# Use to copy all data from one Nginx Proxy Manager LXC to another
|
||||||
# run from the Proxmox Shell
|
# run from the Proxmox Shell
|
||||||
# bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/misc/npm-copy-data.sh)"
|
# bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/misc/npm-copy-data.sh)"
|
||||||
|
|
Loading…
Reference in New Issue