mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
mumble: Implement backup/restore
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
eb490e6faa
commit
4b3a3483a9
3 files changed
+18
-2
No files matched your search
@@ -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
|
||||
|
||||
|
||||
@@ -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']
|
||||
}
|
||||
})
|
||||
Reference in new issue
Block a user