snapshots

package
v0.0.0-...-4c37742 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2020 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(args []string)

Delete deletes all backup files generated by Tokaido

func Init

func Init() (err error)

Init preforms any db snapshot initalization functions that need to be run with general tok init functions

func List

func List()

List returns a list of all snapshots with id numbers. IDs are based on the list of snapshots in descending order IDs will change as more snapshots are added

func New

func New(args []string)

New preforms a DB Snapshot and saves it to .tok/local/snapshots

func Restore

func Restore(args []string)

Restore restores the specified snapshot (or lists snapshots to be chosen)

Types

This section is empty.

Jump to

Keyboard shortcuts

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