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.
Click to show internal directories.
Click to hide internal directories.