Documentation ¶
Index ¶
Constants ¶
View Source
const ( PrettyFlag = "pretty" JSONFlag = "json" DetailFlag = "detail" )
View Source
const ( BackupMarkShortDescription = "Marks a backup permanent or impermanent" BackupMarkLongDescription = `` /* 147-byte string literal not displayed */ ImpermanentDescription = "Marks a backup impermanent" ImpermanentFlag = "impermanent" )
View Source
const ( CatchupFetchShortDescription = "Fetches an incremental backup from storage" UseNewUnwrapDescription = "Use the new implementation of catchup unwrap (beta)" )
View Source
const ( WalShowUsage = "wal-show" WalShowShortDescription = "Show storage WAL segments info grouped by timelines." WalShowLongDescription = "Show information such as missing segments for each timeline found in storage. " + "Optionally, show available backups for each timeline." )
View Source
const ( WalVerifyUsage = "wal-verify" WalVerifyShortDescription = "Verify WAL storage folder. Available checks: integrity, timeline." WalVerifyLongDescription = "Run a set of specified checks to ensure WAL storage health." )
View Source
const UseSentinelTimeDescription = "Use backup creation time from sentinel for backups ordering."
View Source
const UseSentinelTimeFlag = "use-sentinel-time"
View Source
const WalFetchShortDescription = "Fetches a WAL file from storage"
View Source
const WalPrefetchShortDescription = `Used for prefetching process forking
and should not be called by user.`
View Source
const WalPushShortDescription = "Uploads a WAL file to storage"
View Source
const WalgShortDescription = "PostgreSQL backup tool"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PostgresBackupObject ¶ added in v0.2.23
type PostgresBackupObject struct { storage.Object BackupName string // contains filtered or unexported fields }
func (PostgresBackupObject) GetBackupName ¶ added in v0.2.23
func (o PostgresBackupObject) GetBackupName() string
func (PostgresBackupObject) GetBackupTime ¶ added in v0.2.23
func (o PostgresBackupObject) GetBackupTime() time.Time
func (PostgresBackupObject) GetBaseBackupName ¶ added in v0.2.23
func (o PostgresBackupObject) GetBaseBackupName() string
func (PostgresBackupObject) GetIncrementFromName ¶ added in v0.2.23
func (o PostgresBackupObject) GetIncrementFromName() string
func (PostgresBackupObject) IsFullBackup ¶ added in v0.2.23
func (o PostgresBackupObject) IsFullBackup() bool
Click to show internal directories.
Click to hide internal directories.