Add a test mode

This commit is contained in:
Bob Mottram 2015-12-23 10:22:47 +00:00
parent ffb924491b
commit 8b522cbf13
1 changed files with 21 additions and 19 deletions

View File

@ -549,6 +549,7 @@ function backup_extra_directories {
}
backup_configuration
if [[ "$1" != "test" ]]; then
backup_users
backup_letsencrypt
backup_gnusocial
@ -568,6 +569,7 @@ backup_voip
backup_tox
backup_mariadb
backup_extra_directories
fi
# For each remote server
while read remote_server