Add backups info to apps

Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
James Valleroy committed 2018-08-02 21:48:26 -04:00
1 parent 174ef83cf1
commit 73bdd01b93
18 files changed
+185 -10

No files matched your search

+1 -1
View File
@@ -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
+27
View File
@@ -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']
}