Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateBaseBackupOpts ¶
type CreateBaseBackupOpts struct {
Directory string
}
type Result ¶
type Result struct { StartLSN pglogrepl.LSN `json:"start_lsn,omitempty"` StopLSN pglogrepl.LSN `json:"stop_lsn,omitempty"` TimelineID int32 `json:"timeline_id,omitempty"` Tablespaces []Tablespace `json:"tablespaces,omitempty"` BytesTotal int64 `json:"bytes_total,omitempty"` }
Result will hold the return values of the BaseBackup command
func CreateBaseBackup ¶
func CreateBaseBackup(opts *CreateBaseBackupOpts) (*Result, error)
type Tablespace ¶
type Tablespace struct { OID int32 `json:"oid,omitempty"` Location string `json:"location,omitempty"` Size int8 `json:"size,omitempty"` }
Tablespace represents a tablespace in the backup
Click to show internal directories.
Click to hide internal directories.