Tweak influx_tsm help output
parent
8212bc82b9
commit
250c10f126
|
@ -34,11 +34,12 @@ var description = fmt.Sprintf(`
|
|||
Convert a database from b1 or bz1 format to tsm1 format.
|
||||
|
||||
This tool will backup any directory before conversion. It is up to the
|
||||
end-user to delete the backup on the disk. Backups are named by suffixing
|
||||
the database name with '.%s'. The backups will be ignored by the system
|
||||
since they are not registered with the cluster.
|
||||
end-user to delete the backup on the disk, once the end-user is happy
|
||||
with the converted data. Backups are named by suffixing the database
|
||||
name with '.%s'. The backups will be ignored by the system since they
|
||||
are not registered with the cluster.
|
||||
|
||||
To restore a backup, delete the tsm version, rename the backup and
|
||||
To restore a backup, delete the tsm1 version, rename the backup directory
|
||||
restart the node.`, backupExt)
|
||||
|
||||
var dataPath string
|
||||
|
@ -50,7 +51,7 @@ var disBack bool
|
|||
const maxTSMSz = 1 * 1024 * 1024 * 1024
|
||||
|
||||
func init() {
|
||||
flag.StringVar(&ds, "dbs", "", "Comma-delimited list of databases to convert. Default is to convert all")
|
||||
flag.StringVar(&ds, "dbs", "", "Comma-delimited list of databases to convert. Default is to convert all databases.")
|
||||
flag.Uint64Var(&tsmSz, "sz", maxTSMSz, "Maximum size of individual TSM files.")
|
||||
flag.BoolVar(¶llel, "parallel", false, "Perform parallel conversion.")
|
||||
flag.BoolVar(&disBack, "nobackup", false, "Disable database backups. Not recommended.")
|
||||
|
|
Loading…
Reference in New Issue