backup

package
v0.0.0-...-d8e89f0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2015 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const DS = resource.CoreDSDir + string(os.PathSeparator) + "backup.ds"

DS is the path to the backup datastore file

Variables

This section is empty.

Functions

func New

func New(backupFile *resource.File, datastores []string, who string) error

New generates a new backup file

Types

type Backup

type Backup struct {
	When       string   `json:"when"`
	File       string   `json:"file"`
	Who        string   `json:"who"`
	Datastores []string `json:"datastores"`
}

Backup is the structure of a freehold backup

func Get

func Get(from, to string) ([]*Backup, error)

Get retrieves a list of backups between the From and To dates passed in

Jump to

Keyboard shortcuts

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