zibri
    Preparing search index...

    Interface that needs to be implemented by any resource that should be backed up.

    interface BackupResourceInterface {
        createBackupData: (backup: BackupEntity) => Readable | Promise<Readable>;
        restoreBackup: (backupData: Readable) => void | Promise<void>;
    }

    Hierarchy (View Summary)

    Index

    Properties

    createBackupData: (backup: BackupEntity) => Readable | Promise<Readable>

    Creates the data that should be backed up in form of a Readable stream.

    restoreBackup: (backupData: Readable) => void | Promise<void>

    Restores this resource to the the given backup data.