mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-11-29 08:25:10 +00:00
Add backups info to apps
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
18 files changed
+185
-10
No files matched your search
@@ -29,7 +29,7 @@ from plinth import service as service_module
|
||||
from plinth import action_utils, actions, frontpage
|
||||
from plinth.menu import main_menu
|
||||
|
||||
from .manifest import clients
|
||||
from .manifest import backup, clients
|
||||
|
||||
version = 2
|
||||
|
||||
|
||||
@@ -52,3 +52,30 @@ clients = validate([{
|
||||
'url': _riot_desktop_download_url,
|
||||
}]
|
||||
}])
|
||||
|
||||
backup = {
|
||||
'config': {
|
||||
'directories': ['/etc/matrix-synapse/conf.d/'],
|
||||
'files': [
|
||||
'/etc/matrix-synapse/homeserver.yaml',
|
||||
'/etc/matrix-synapse/log.yaml'
|
||||
],
|
||||
},
|
||||
'data': {
|
||||
'directories': [
|
||||
'/var/lib/matrix-synapse/media/',
|
||||
'/var/lib/matrix-synapse/uploads/'
|
||||
],
|
||||
'files': ['/var/lib/matrix-synapse/homeserver.db'],
|
||||
},
|
||||
'secrets': {
|
||||
'directories': [],
|
||||
'files': [
|
||||
'/etc/matrix-synapse/homeserver.signing.key',
|
||||
'/etc/matrix-synapse/homeserver.tls.crt',
|
||||
'/etc/matrix-synapse/homeserver.tls.dh',
|
||||
'/etc/matrix-synapse/homeserver.tls.key'
|
||||
],
|
||||
},
|
||||
'services': ['matrix-synapse']
|
||||
}
|
||||
Reference in new issue
Block a user