|
|
@ -35,7 +35,7 @@ var cmdExport = &Command{ |
|
|
|
} |
|
|
|
|
|
|
|
var ( |
|
|
|
exportVolumePath = cmdExport.Flag.String("dir", "/tmp", "input data directory to store volume data files") |
|
|
|
exportVolumePath = cmdExport.Flag.String("dir", ".", "input data directory to store volume data files") |
|
|
|
exportCollection = cmdExport.Flag.String("collection", "", "the volume collection name") |
|
|
|
exportVolumeId = cmdExport.Flag.Int("volumeId", -1, "a volume id. The volume .dat and .idx files should already exist in the dir.") |
|
|
|
dest = cmdExport.Flag.String("o", "", "output tar file name, must ends with .tar, or just a \"-\" for stdout") |
|
|
|