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,25 +549,27 @@ function backup_extra_directories {
} }
backup_configuration backup_configuration
backup_users if [[ "$1" != "test" ]]; then
backup_letsencrypt backup_users
backup_gnusocial backup_letsencrypt
backup_hubzilla backup_gnusocial
backup_owncloud backup_hubzilla
backup_gogs backup_owncloud
backup_wiki backup_gogs
backup_blog backup_wiki
backup_certs backup_blog
backup_mailing_list backup_certs
backup_xmpp backup_mailing_list
backup_web_server backup_xmpp
backup_admin_readme backup_web_server
backup_ipfs backup_admin_readme
backup_dlna backup_ipfs
backup_voip backup_dlna
backup_tox backup_voip
backup_mariadb backup_tox
backup_extra_directories backup_mariadb
backup_extra_directories
fi
# For each remote server # For each remote server
while read remote_server while read remote_server