diff --git a/plinth/modules/performance/__init__.py b/plinth/modules/performance/__init__.py index dbb0ea8c9..c1f7e3216 100644 --- a/plinth/modules/performance/__init__.py +++ b/plinth/modules/performance/__init__.py @@ -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) diff --git a/plinth/modules/performance/manifest.py b/plinth/modules/performance/manifest.py index 23eb84f8e..a770c1c33 100644 --- a/plinth/modules/performance/manifest.py +++ b/plinth/modules/performance/manifest.py @@ -12,3 +12,5 @@ clients = [{ 'url': '/_cockpit/metrics' }] }] + +backup = {}