Disable www duplicity backups; switching to storag
This commit is contained in:
parent
a33a0bc459
commit
7007891e1d
@ -78,13 +78,13 @@ for VIRTUAL_MACHINE in $SERVERS; do
|
|||||||
if incus list | grep -q "$INCUS_VM_NAME"; then
|
if incus list | grep -q "$INCUS_VM_NAME"; then
|
||||||
bash -c "./stop.sh --server=$VIRTUAL_MACHINE"
|
bash -c "./stop.sh --server=$VIRTUAL_MACHINE"
|
||||||
|
|
||||||
if [ "$VIRTUAL_MACHINE" = www ] && [ "$BACKUP_WWW_APPS" = true ]; then
|
# if [ "$VIRTUAL_MACHINE" = www ] && [ "$BACKUP_WWW_APPS" = true ]; then
|
||||||
APP_LIST="letsencrypt ghost nextcloud gitea nostr"
|
# APP_LIST="letsencrypt ghost nextcloud gitea nostr"
|
||||||
echo "INFO: Backing up WWW apps."
|
# echo "INFO: Backing up WWW apps."
|
||||||
for APP in $APP_LIST; do
|
# for APP in $APP_LIST; do
|
||||||
bash -c "$(pwd)/project/www/backup_www.sh --app=$APP"
|
# bash -c "$(pwd)/project/www/backup_www.sh --app=$APP"
|
||||||
done
|
# done
|
||||||
fi
|
# fi
|
||||||
|
|
||||||
incus stop "$INCUS_VM_NAME"
|
incus stop "$INCUS_VM_NAME"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user