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