1
1
Fork 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
1 changed files with 7 additions and 7 deletions

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"