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: unknown class>? = null): Response<<Error class: unknown class>>

Creates a new Backup.

Link copied to clipboard
suspend fun getBackup(path: String): Response<<Error class: unknown class>>

Gets the descriptor from an existing archive is present.

Link copied to clipboard
suspend fun listBackups(): Response<List<<Error class: unknown class>>>

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

Link copied to clipboard
suspend fun startRestoreBackup(data: <Error class: unknown class>): Response<Unit>

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