Move remote xmpp backup to app script

This commit is contained in:
Bob Mottram 2016-07-09 21:34:21 +01:00
parent 84db3b4037
commit c2f56cd1ec
2 changed files with 6 additions and 10 deletions

View File

@ -142,7 +142,11 @@ function restore_local_xmpp {
}
function backup_remote_xmpp {
echo -n ''
if [ -d /var/lib/prosody ]; then
echo $"Backing up the XMPP settings"
backup_directory_to_friend /var/lib/prosody xmpp
echo $"Backup of XMPP settings complete"
fi
}
function restore_remote_xmpp {

View File

@ -258,13 +258,6 @@ function backup_mailing_list {
fi
}
function backup_xmpp {
if [ -d /var/lib/prosody ]; then
echo $"Backing up the XMPP settings"
backup_directory_to_friend /var/lib/prosody xmpp
fi
}
function backup_web_server {
if [ -d /etc/nginx ]; then
echo $"Backing up web settings"
@ -470,7 +463,6 @@ if [[ $TEST_MODE == "no" ]]; then
backup_certs
backup_mailing_list
backup_xmpp
backup_ipfs
backup_dlna
backup_voip