mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
quassel: Enable backup/restore
- All the configuration is in data folder, no custom configuration. - SSL certificate is in the data folder. - Users, logs etc. are in sqlite file in the data folder. Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
1 parent
9305afea9c
commit
5f15fdda45
3 files changed
+17
-1
No files matched your search
@@ -27,7 +27,7 @@ from plinth.menu import main_menu
|
||||
from plinth.utils import format_lazy
|
||||
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
|
||||
|
||||
clients = validate([{
|
||||
'name':
|
||||
@@ -58,3 +59,10 @@ clients = validate([{
|
||||
'url': store_url('google-play', 'com.iskrembilen.quasseldroid'),
|
||||
}]
|
||||
}])
|
||||
|
||||
backup = validate_backup({
|
||||
'secrets': {
|
||||
'directories': ['/var/lib/quassel/']
|
||||
},
|
||||
'services': ['quassel-core'],
|
||||
})
|
||||
Reference in new issue
Block a user