|
|
@ -2,6 +2,8 @@ |
|
|
|
# Use to copy all data from one Home Assistant LXC to another |
|
|
|
# Use to copy all data from one Home Assistant 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/ha-copy-data.sh)" |
|
|
|
# bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/misc/ha-copy-data.sh)" |
|
|
|
|
|
|
|
clear |
|
|
|
|
|
|
|
if ! command -v pveversion >/dev/null 2>&1; then echo -e "⚠️ Run from the Proxmox Shell"; exit; fi |
|
|
|
while true; do |
|
|
|
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 one Home Assistant LXC to another. Proceed(y/n)?" yn |
|
|
|
case $yn in |
|
|
|
case $yn in |
|
|
|