From 6d17eb22d9c9d1b28b46c2e03c432bc2a3fd4297 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sun, 23 Jan 2022 17:10:28 -0500 Subject: [PATCH] Update z2m-copy-data.sh --- misc/z2m-copy-data.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/misc/z2m-copy-data.sh b/misc/z2m-copy-data.sh index f63d471b..a2320f95 100644 --- a/misc/z2m-copy-data.sh +++ b/misc/z2m-copy-data.sh @@ -1,4 +1,7 @@ #!/usr/bin/env bash +# Use to copy all data from one Zigbee2MQTT LXC to another +# run from the Proxmox Shell +# bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/misc/z2m-copy-data.sh)" while true; do read -p "Use to copy all data from one Zigbee2MQTT LXC to another. Proceed(y/n)?" yn case $yn in @@ -78,7 +81,7 @@ done whiptail --defaultno --title "$TITLE" --yesno \ "Are you sure you want to copy data between the following LXCs? $CTID_FROM (${CTID_FROM_HOSTNAME}) -> $CTID_TO (${CTID_TO_HOSTNAME}) -Version: Alpha 01" 13 50 || exit +Version: 2022.01.23" 13 50 || exit info "Zigbee2MQTT Data from '$CTID_FROM' to '$CTID_TO'" msg "Mounting Container Disks..." @@ -112,4 +115,4 @@ info "Successfully Transferred Data." # Use to copy all data from one Zigbee2MQTT LXC to another # run from the Proxmox Shell -# bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/misc/z2m-copy-data.sh)" \ No newline at end of file +# bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/misc/z2m-copy-data.sh)"