Documentation
¶
Overview ¶
Package backup contains backup operations against etcd.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Backup ¶
Backup traverses all paths of an etcd server starting from the root and creates a ZIP archive of the content in the current directory. On success, it returns the backup ID, which is the Unix time encoded point in time the backup operation was started, for example 1498050161. Example:
bID, err := etcd.Backup("http://localhost:2379", "/tmp", "play.minio.io:9000", "reshifter-test-cluster")
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.