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:
James Valleroy authored and Sunil Mohan Adapa committed 2021-10-25 10:16:07 -07:00
1 parent a055209f54
commit de029509fc
2 files changed
+7

No files matched your search

+5
View File
@@ -8,6 +8,7 @@ from django.utils.translation import gettext_lazy as _
from plinth import app as app_module
from plinth import menu
from plinth.daemon import Daemon
from plinth.modules.backups.components import BackupRestore
from . import manifest
@@ -54,6 +55,10 @@ class PerformanceApp(app_module.App):
'performance:index', parent_url_name='system')
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],
listen_ports=None)
self.add(daemon_0)
+2
View File
@@ -12,3 +12,5 @@ clients = [{
'url': '/_cockpit/metrics'
}]
}]
backup = {}