Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Command = &cobra.Command{ Use: "restore filename", Aliases: []string{"r", "import"}, Short: "restore a database from a sql file", Long: `The "restore" command restores a given sql file to a running database pod. Supported Input Filetypes: - Raw sql file. Typically with the ".sql" extension - Gzipped sql file. Typically with the ".sql.gz" extension - Postgres custom dump file. Typically with the ".dmp" extension (Only if the target database is Postgres)`, Args: cobra.ExactArgs(1), ValidArgsFunction: validArgs, PreRunE: preRun, RunE: run, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.