Backups

class plinth.modules.backups.components.BackupRestore(component_id, config=None, data=None, secrets=None, services=None, settings=None)[source]

Component to backup/restore an app.

__init__(component_id, config=None, data=None, secrets=None, services=None, settings=None)[source]

Initialize the backup/restore component.

backup_post(packet)[source]

Perform any special operations after backup.

backup_pre(packet)[source]

Perform any special operations before backup.

property data

Add additional files to data files list.

property manifest

Return the backup details as a dictionary.

restore_post(packet)[source]

Perform any special operations after restore.

restore_pre(packet)[source]

Perform any special operations before restore.