Operations with Specific DatabaseBackupSettings
This resource lets you configure settings of the database backup.
Resource | /api/admin/databaseBackup/settings |
Returned entity | DatabaseBackupSettings. For the description of the entity attributes, see Supported Fields section. |
Supported methods |
DatabaseBackupSettings attributes
Represents database backup settings of the YouTrack instance.
Related Resources
Below you can find the list of resources that let you work with this entity.
Attributes
This table describes attributes of the DatabaseBackupSettings
entity.
To receive an attribute in the response from the server, specify it explicitly in the
fields
request parameter.To update an attribute, provide it in the body of a POST request.
Field | Type | Description |
---|---|---|
id | String | The ID of the backup status. |
location | String | The location of the backups storage folder. |
filesToKeep | Int | The number of backup files that should be stored. |
cronExpression | String | The cron expression that defines the schedule of the automatic backups. |
archiveFormat | Enumeration | The current selected format of backup files. Supported values are TAR_GZ or ZIP. |
isOn | Boolean | If `true`, the automatic regular backup is enabled. Otherwise, `false`. |
availableDiskSpace | Long | The size of available disk space. |
notifiedUsers | Array of Users | The list of users who get notifications about backup failures. |
backupStatus | BackupStatus | The current status of the backup. |
Read a Specific DatabaseBackupSettings
Read the database backup settings.
Required permissions
Requires permissions: Low-level Admin Read
Request syntax
Request parameters
Parameter | Type | Description |
---|---|---|
fields | String | A list of DatabaseBackupSettings attributes that should be returned in the response. If no field is specified, only the |
Sample
Sample request
Sample response body
Update a Specific DatabaseBackupSettings
Update the database backup settings.
Required permissions
Requires permissions: Low-level Admin Write
Request syntax
Request parameters
Parameter | Type | Description |
---|---|---|
fields | String | A list of DatabaseBackupSettings attributes that should be returned in the response. If no field is specified, only the |