BackupApi

class BackupApi(api: ApiClient) : Api

Constructors

Link copied to clipboard
constructor(api: ApiClient)

Functions

Link copied to clipboard
suspend fun createBackup(data: ERROR CLASS: Symbol not found for BackupOptionsDto?? = null): Response<ERROR CLASS: Symbol not found for BackupManifestDto>

Creates a new Backup.

Link copied to clipboard
suspend fun getBackup(path: String): Response<ERROR CLASS: Symbol not found for BackupManifestDto>

Gets the descriptor from an existing archive is present.

Link copied to clipboard
suspend fun listBackups(): Response<List<ERROR CLASS: Symbol not found for BackupManifestDto>>

Gets a list of all currently present backups in the backup directory.

Link copied to clipboard
suspend fun startRestoreBackup(data: ERROR CLASS: Symbol not found for BackupRestoreRequestDto): Response<Unit>

Restores to a backup by restarting the server and applying the backup.