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 ¶
View Source
var ( Cmd = &cobra.Command{ Use: "wal-g", Short: WalgShortDescription, Version: strings.Join([]string{walgVersion, gitRevision, buildDate, "PostgreSQL"}, "\t"), PersistentPreRun: func(cmd *cobra.Command, args []string) { err := internal.AssertRequiredSettingsSet() tracelog.ErrorLogger.FatalOnError(err) if viper.IsSet(internal.PgWalSize) { postgres.SetWalSize(viper.GetUint64(internal.PgWalSize)) } }, } )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.