Add a test mode
This commit is contained in:
parent
ffb924491b
commit
8b522cbf13
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue