Documentation ¶
Index ¶
- func Backup(cfg Conf) error
- func BackupConnections(src *exasol.Conn, dst string) error
- func BackupConsumerGroups(src *exasol.Conn, dst string) error
- func BackupFunctions(src *exasol.Conn, dst string, crit Criteria, dropExtras bool) error
- func BackupParameters(src *exasol.Conn, dst string) error
- func BackupPriorityGroups(src *exasol.Conn, dst string) error
- func BackupPrivileges(src *exasol.Conn, dst string, grantees []string) error
- func BackupRoles(src *exasol.Conn, dst string, dropExtras bool) error
- func BackupSchemas(src *exasol.Conn, dst string, crit Criteria, dropExtras bool) error
- func BackupScripts(src *exasol.Conn, dst string, crit Criteria, dropExtras bool) error
- func BackupTables(src *exasol.Conn, dst string, crit Criteria, maxRows int, dropExtras bool) error
- func BackupUsers(src *exasol.Conn, dst string, dropExtras bool) error
- func BackupViews(src *exasol.Conn, dst string, crit Criteria, maxRows int, dropExtras bool) error
- type Conf
- type Criteria
- type Object
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BackupConnections ¶
func BackupConsumerGroups ¶
func BackupFunctions ¶
func BackupParameters ¶
func BackupPriorityGroups ¶
func BackupPrivileges ¶
func BackupRoles ¶
func BackupSchemas ¶
func BackupScripts ¶
func BackupTables ¶
func BackupUsers ¶
Types ¶
type Conf ¶
type Conf struct { // Exasol instance to backup from Source *exasol.Conn // Local filesystem directory underwhich to store the backup Destination string // The list of object types to backup Objects []Object // Match is a comma delimited set of wildcard matching patterns. // Any schema object matching one of these patterns will be backedup. // Each pattern should be in the form of "schema.object". // If the object is not specified "schema.*" is assumed. // If the schema not specified then "*.*" is assumed. // Non-schema objects (users, roles, connections, parameters) are // not affected by this config. i.e. they will be backup all-or-none Match string // Skip is the inverse of Match. // Any schema objects matching it will be skipped. Skip string // If > 0 then tables with this many or fewer rows // will have the their data backed up to CSV files. // If 0 then no table data will be backed up. MaxTableRows int // If > 0 then views with this many or fewer rows // will have the their data backed up to CSV files. // If 0 then no view data will be backed up. MaxViewRows int // If true then any text files existing in the destination // but no longer existing in Exasol will be removed. // If false then the backup is purely additive DropExtras bool LogLevel string // Defaults to "warning" }
Click to show internal directories.
Click to hide internal directories.