restore

package
v0.0.0-...-01ee8fb Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2018 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Restore

func Restore(
	ctx context.Context,
	dir string,
	score blob.Score,
	bucket gcs.Bucket,
	objectNamePrefix string,
	crypter crypto.Crypter,
	logger *log.Logger) (err error)

Restore the backup rooted at the supplied score into the given directory, which must already exist.

The supplied bucket is assumed to contain objects with the given name prefix.

Types

This section is empty.

Jump to

Keyboard shortcuts

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