package restore
import "github.com/influxdata/influxdb/cmd/influxd/restore"
Package restore is the restore subcommand for the influxd command, for restoring from a backup.
Index ¶
Types ¶
type Command ¶
type Command struct { // The logger passed to the ticker during execution. StdoutLogger *log.Logger StderrLogger *log.Logger // Standard input/output, overridden for testing. Stderr io.Writer Stdout io.Writer // TODO: when the new meta stuff is done this should not be exported or be gone MetaConfig *meta.Config // contains filtered or unexported fields }
Command represents the program execution for "influxd restore".
func NewCommand ¶
func NewCommand() *Command
NewCommand returns a new instance of Command with default settings.
func (*Command) Run ¶
Run executes the program.
Source Files ¶
- Version
- v1.12.0 (latest)
- Published
- Apr 8, 2025
- Platform
- linux/amd64
- Imports
- 16 packages
- Last checked
- 2 days ago –
Tools for package owners.