restic

package
v1.99.99 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Command = &cli.Command{
		Name:        "restic",
		Description: "Start k8up in restic mode",
		Category:    "backup",
		Action:      resticMain,
		Flags: []cli.Flag{
			&cli.BoolFlag{Destination: &check, Name: "check", Usage: "Set if the container should run a check"},
			&cli.BoolFlag{Destination: &prune, Name: "prune", Usage: "Set if the container should run a prune"},
			&cli.BoolFlag{Destination: &restore, Name: "restore", Usage: "Whether or not a restore should be done"},
			&cli.BoolFlag{Destination: &verifyRestore, Name: "verifyRestore", Usage: "If the restore should get verified, only for PVCs restore"},
			&cli.BoolFlag{Destination: &archive, Name: "archive"},
			&cli.StringFlag{Destination: &restoreSnap, Name: "restoreSnap", Usage: "Snapshot ID, if empty takes the latest snapshot"},
			&cli.StringFlag{Destination: &restoreType, Name: "restoreType", Usage: "Type of this restore, folder or S3"},
			&cli.StringFlag{Destination: &restoreFilter, Name: "restoreFilter", Usage: "Simple filter to define what should get restored. For example the PVC name"},
			&cli.StringSliceFlag{Name: "tag", Usage: "List of tags to consider for given operation"},
		},
	}
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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