mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
performance: Add backup support (no data)
Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
a055209f54
commit
de029509fc
@ -8,6 +8,7 @@ from django.utils.translation import gettext_lazy as _
|
|||||||
from plinth import app as app_module
|
from plinth import app as app_module
|
||||||
from plinth import menu
|
from plinth import menu
|
||||||
from plinth.daemon import Daemon
|
from plinth.daemon import Daemon
|
||||||
|
from plinth.modules.backups.components import BackupRestore
|
||||||
|
|
||||||
from . import manifest
|
from . import manifest
|
||||||
|
|
||||||
@ -54,6 +55,10 @@ class PerformanceApp(app_module.App):
|
|||||||
'performance:index', parent_url_name='system')
|
'performance:index', parent_url_name='system')
|
||||||
self.add(menu_item)
|
self.add(menu_item)
|
||||||
|
|
||||||
|
backup_restore = BackupRestore('backup-restore-performance',
|
||||||
|
**manifest.backup)
|
||||||
|
self.add(backup_restore)
|
||||||
|
|
||||||
daemon_0 = Daemon('daemon-performance-0', managed_services[0],
|
daemon_0 = Daemon('daemon-performance-0', managed_services[0],
|
||||||
listen_ports=None)
|
listen_ports=None)
|
||||||
self.add(daemon_0)
|
self.add(daemon_0)
|
||||||
|
|||||||
@ -12,3 +12,5 @@ clients = [{
|
|||||||
'url': '/_cockpit/metrics'
|
'url': '/_cockpit/metrics'
|
||||||
}]
|
}]
|
||||||
}]
|
}]
|
||||||
|
|
||||||
|
backup = {}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user