backup

package
v0.2.1-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2017 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

Package backup contains backup operations against etcd.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Backup

func Backup(endpoint, target, remote, bucket string) (string, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL