chore: add ssh, ftp to storage list

This commit is contained in:
Jonas Kaninda
2024-10-21 08:33:59 +02:00
parent 5569258a71
commit 8afb5ace40
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ var RestoreCmd = &cobra.Command{
func init() {
//Restore
RestoreCmd.PersistentFlags().StringP("file", "f", "", "File name of database")
RestoreCmd.PersistentFlags().StringP("storage", "s", "local", "Storage. local or s3")
RestoreCmd.PersistentFlags().StringP("storage", "s", "local", "Define storage: local, s3, ssh, ftp")
RestoreCmd.PersistentFlags().StringP("path", "P", "", "AWS S3 path without file name. eg: /custom_path or ssh remote path `/home/foo/backup`")
}