MetastoreServiceScheduledBackup

data class MetastoreServiceScheduledBackup(val backupLocation: String, val cronSchedule: String? = null, val enabled: Boolean? = null, val timeZone: String? = null)

Constructors

Link copied to clipboard
constructor(backupLocation: String, cronSchedule: String? = null, enabled: Boolean? = null, timeZone: String? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A Cloud Storage URI of a folder, in the format gs:///. A sub-folder containing backup files will be stored below it.

Link copied to clipboard
val cronSchedule: String? = null

The scheduled interval in Cron format, see https://en.wikipedia.org/wiki/Cron The default is empty: scheduled backup is not enabled. Must be specified to enable scheduled backups.

Link copied to clipboard
val enabled: Boolean? = null

Defines whether the scheduled backup is enabled. The default value is false.

Link copied to clipboard
val timeZone: String? = null

Specifies the time zone to be used when interpreting cronSchedule. Must be a time zone name from the time zone database (https://en.wikipedia.org/wiki/List_of_tz_database_time_zones), e.g. America/Los_Angeles or Africa/Abidjan. If left unspecified, the default is UTC.