Documentation ¶
Index ¶
Constants ¶
View Source
const (
ErrMsgUnsupportedEngine = "This engine doesn't support hot backup."
)
Variables ¶
View Source
var ( ErrUnsupported = errors.New("server does not support hot backup") ErrNotLocalhost = errors.New("session must be direct session to localhost") ErrNotDirectConn = errors.New("session is not direct") )
View Source
var ( RestoreStopServerRetries = 60 * 4 RestoreStopServerWait = 250 * time.Millisecond )
Functions ¶
This section is empty.
Types ¶
type Backup ¶
type Backup struct {
// contains filtered or unexported fields
}
func NewBackup ¶
NewBackup creates a Percona Server for MongoDB Hot Backup and outputs it to the specified backup directory. The provided MongoDB session must be a direct connection to localhost/127.0.0.1
https://www.percona.com/doc/percona-server-for-mongodb/LATEST/hot-backup.html
Click to show internal directories.
Click to hide internal directories.