mumble: Implement backup/restore

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Joseph Nuthalapati authored and James Valleroy committed 2018-10-03 19:18:56 -04:00
1 parent eb490e6faa
commit 4b3a3483a9
3 files changed
+18 -2

No files matched your search

+1 -1
View File
@@ -26,7 +26,7 @@ from plinth import action_utils, actions, frontpage
from plinth.menu import main_menu
from plinth.views import ServiceView
from .manifest import clients
from .manifest import backup, clients
version = 1
+7
View File
@@ -18,6 +18,7 @@
from django.utils.translation import ugettext_lazy as _
from plinth.clients import store_url, validate
from plinth.modules.backups.api import validate as validate_backup
_plumble_package_id = 'com.morlunk.mumbleclient'
@@ -70,3 +71,9 @@ clients = validate([{
'url': 'https://itunes.apple.com/dk/app/mumblefy/id858752232'
}]
}])
backup = validate_backup({
'data': {
'directories': ['/var/lib/mumble-server']
}
})