1
1

Disable www duplicity backups; switching to storag

This commit is contained in:
Derek Smith 2023-12-15 16:47:13 -05:00
parent a33a0bc459
commit 7007891e1d
Signed by: farscapian
GPG Key ID: B443E530A14E1C90

View File

@ -78,13 +78,13 @@ for VIRTUAL_MACHINE in $SERVERS; do
if incus list | grep -q "$INCUS_VM_NAME"; then
bash -c "./stop.sh --server=$VIRTUAL_MACHINE"
if [ "$VIRTUAL_MACHINE" = www ] && [ "$BACKUP_WWW_APPS" = true ]; then
APP_LIST="letsencrypt ghost nextcloud gitea nostr"
echo "INFO: Backing up WWW apps."
for APP in $APP_LIST; do
bash -c "$(pwd)/project/www/backup_www.sh --app=$APP"
done
fi
# if [ "$VIRTUAL_MACHINE" = www ] && [ "$BACKUP_WWW_APPS" = true ]; then
# APP_LIST="letsencrypt ghost nextcloud gitea nostr"
# echo "INFO: Backing up WWW apps."
# for APP in $APP_LIST; do
# bash -c "$(pwd)/project/www/backup_www.sh --app=$APP"
# done
# fi
incus stop "$INCUS_VM_NAME"