Compare commits
2 Commits
a33a0bc459
...
4fde7a8a70
Author | SHA1 | Date |
---|---|---|
Derek Smith | 4fde7a8a70 | |
Derek Smith | 7007891e1d |
|
@ -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"
|
||||
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 123fef51031b97e998928e1c6a457e3d4fef871b
|
||||
Subproject commit b07cbe6f0fd81d00376ce7dd3a3bb793ba344d45
|
Loading…
Reference in New Issue