Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
freedombone
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Context Sensitive Group
freedombone
Commits
c2f56cd1
Commit
c2f56cd1
authored
8 years ago
by
Bob Mottram
Browse files
Options
Downloads
Patches
Plain Diff
Move remote xmpp backup to app script
parent
84db3b40
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/freedombone-app-xmpp
+6
-2
6 additions, 2 deletions
src/freedombone-app-xmpp
src/freedombone-backup-remote
+0
-8
0 additions, 8 deletions
src/freedombone-backup-remote
with
6 additions
and
10 deletions
src/freedombone-app-xmpp
+
6
−
2
View file @
c2f56cd1
...
...
@@ -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
{
...
...
This diff is collapsed.
Click to expand it.
src/freedombone-backup-remote
+
0
−
8
View file @
c2f56cd1
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment