diff --git a/cmd/influxd/restore/command.go b/cmd/influxd/restore/command.go index 3fa467e94d..2707a88922 100644 --- a/cmd/influxd/restore/command.go +++ b/cmd/influxd/restore/command.go @@ -62,7 +62,7 @@ func init() { { DestP: &flags.boltPath, Flag: "bolt-path", - Default: filepath.Join(dir, http.DefaultTokenFile), + Default: filepath.Join(dir, bolt.DefaultFilename), Desc: "path to target boltdb database", }, { @@ -75,7 +75,7 @@ func init() { DestP: &flags.credPath, Flag: "credentials-path", Default: filepath.Join(dir, http.DefaultTokenFile), - Desc: "path to target persistent engine files", + Desc: "path to target credentials file", }, { DestP: &flags.backupPath,