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 2021-10-21 07:33:58 -04:00 committed by Sunil Mohan Adapa
parent a055209f54
commit de029509fc
No known key found for this signature in database
GPG Key ID: 43EA1CFF0AA7C5F2
2 changed files with 7 additions and 0 deletions

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)

View File

@ -12,3 +12,5 @@ clients = [{
'url': '/_cockpit/metrics'
}]
}]
backup = {}