From d2c70ffd47f332225131b5f1fb175b041e526b91 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 12 Feb 2022 13:40:10 -0500 Subject: [PATCH] Update ha_copy_data_podman.sh --- misc/ha_copy_data_podman.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/misc/ha_copy_data_podman.sh b/misc/ha_copy_data_podman.sh index 19dc6915..a7195bf6 100644 --- a/misc/ha_copy_data_podman.sh +++ b/misc/ha_copy_data_podman.sh @@ -1,9 +1,9 @@ #!/usr/bin/env bash -# Use to copy all data from one Home Assistant LXC to another +# Use to copy all data from a Home Assistant LXC to a Podman Home Assistant LXC. # run from the Proxmox Shell -# bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/misc/ha-copy-data.sh)" +# bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/misc/ha-copy-data_podman.sh)" while true; do - read -p "Use to copy all data from one Home Assistant LXC to another. Proceed(y/n)?" yn + read -p "Use to copy all data from a Home Assistant LXC to a Podman Home Assistant LXC. Proceed(y/n)?" yn case $yn in [Yy]* ) break;; [Nn]* ) exit;; @@ -112,11 +112,11 @@ RSYNC_OPTIONS=( --info=progress2 ) msg "<======== Docker Data ========>" -rsync ${RSYNC_OPTIONS[*]} ${CTID_FROM_PATH}${DOCKER_PATH} ${CTID_TO_PATH}${DOCKER_PATH} +rsync ${RSYNC_OPTIONS[*]} ${CTID_FROM_PATH}${DOCKER_PATH} ${CTID_TO_PATH}${PODMAN_PATH} echo -en "\e[1A\e[0K\e[1A\e[0K" info "Successfully Transferred Data." # Use to copy all data from a Home Assistant LXC to a Podman Home Assistant LXC # run from the Proxmox Shell -# bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/misc/ha-copy-data_podman.sh)" \ No newline at end of file +# bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/misc/ha-copy-data_podman.sh)"