MCPcopy Create free account
hub / github.com/apecloud/myduckserver / BackupConfig

Struct BackupConfig

pgserver/backup_handler.go:28–32  ·  view source on GitHub ↗

This file implements the logic for handling BACKUP SQL statements. Syntax: BACKUP DATABASE my_database TO ' ' ENDPOINT = ' ' ACCESS_KEY_ID = ' ' SECRET_ACCESS_KEY = ' ' Example Usage: BACKUP DATABASE my_database TO 's3://my_bucket/my_database/' ENDPOINT = 's3.cn-

Source from the content-addressed store, hash-verified

26// ACCESS_KEY_ID = 'xxxxxxxxxxxxx'
27// SECRET_ACCESS_KEY = 'xxxxxxxxxxxx'
28
29type BackupConfig struct {
30 DbName string
31 RemotePath string
32 StorageConfig *storage.ObjectStorageConfig
33}
34
35var backupRegex = regexp.MustCompile(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected