[skip ci] add debugging info
This commit is contained in:
parent
f135aaff97
commit
f32a91826d
4 changed files with 9 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -x
|
||||
|
||||
if test -f "/var/backups/config/config.orig"; then
|
||||
|
||||
rm /var/backups/config/config.php
|
||||
|
|
|
@ -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/'
|
||||
|
||||
}
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -x
|
||||
|
||||
if [ ! -f "/var/backups/config/config.orig" ]; then
|
||||
|
||||
rm -f /var/backups/config/config.orig
|
||||
|
|
Loading…
Reference in a new issue