Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrMissingHostInParentBackupDirs = errors.New("missing host in parent backup directories")
Functions ¶
This section is empty.
Types ¶
type AgentHostsToBackupDir ¶
type BackupDirs ¶
type BackupDirs struct { // Can collapse the CoordinatorBackupDir into AgentHostsToBackupDir once we run an agent on the coordinator // to simplify various logic. CoordinatorBackupDir string AgentHostsToBackupDir AgentHostsToBackupDir }
func ParseParentBackupDirs ¶
func ParseParentBackupDirs(input string, cluster greenplum.Cluster) (BackupDirs, error)
ParseParentBackupDirs parses either a single directory or multiple host:directory pairs. To specify a single directory across all hosts set a single directory such as /dir. To specify different directories for each host use the form "host1:/dir1,host2:/dir2,host3:/dir3" where the first host must be the coordinator. Defaults to the parent directory of each primary data directory on each primary host. NOTE: We parse in the hub rather than the CLI since we need to know all hosts to fill in the agent hosts backup directories if the user specifies a single directory and no hosts.
type MissingHostInParentBackupDirsError ¶
func (*MissingHostInParentBackupDirsError) Error ¶
func (m *MissingHostInParentBackupDirsError) Error() string
func (*MissingHostInParentBackupDirsError) Is ¶
func (m *MissingHostInParentBackupDirsError) Is(err error) bool
Click to show internal directories.
Click to hide internal directories.