Skip to content
Snippets Groups Projects
Commit c2f56cd1 authored by Bob Mottram's avatar Bob Mottram
Browse files

Move remote xmpp backup to app script

parent 84db3b40
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ XMPP_CIPHERS='"EDH+CAMELLIA:EDH+aRSA:EECDH+aRSA+AESGCM:EECDH+aRSA+SHA256:EECDH:+
XMPP_ECC_CURVE='"secp384r1"'
function reconfigure_xmpp {
echo -n ''
echo -n ''
}
function update_prosody_modules {
......@@ -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 {
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment