[skip ci] add debugging info

This commit is contained in:
ansgarz 2021-12-09 18:16:40 +01:00
parent f135aaff97
commit f32a91826d
4 changed files with 9 additions and 4 deletions

View file

@ -16,7 +16,7 @@ function main() {
#disable for faster testing
#backup-roles 'oc_'
#backup-db-dump
#echo test-content > /var/backups/tmpfile
ls -l /var/backups/
backup-directory '/var/backups/'
end-maintenance.sh

View file

@ -1,5 +1,7 @@
#!/bin/bash
set -x
if test -f "/var/backups/config/config.orig"; then
rm /var/backups/config/config.php

View file

@ -1,6 +1,6 @@
#!/bin/bash
set -Eeo pipefail
set -Eeox pipefail
function main() {
@ -15,8 +15,9 @@ function main() {
drop-create-db
restore-roles
restore-db
#skip for fast testing
#restore-roles
#restore-db
restore-directory '/var/backups/'
}

View file

@ -1,5 +1,7 @@
#!/bin/bash
set -x
if [ ! -f "/var/backups/config/config.orig" ]; then
rm -f /var/backups/config/config.orig