Skip to main content

multiserase command

Use the multiserase command to erase all data on disks for multiple severs at the same time.

multiserase command syntax

OneCli [misc] multiserase <--configfile <arg>> <--erasefile <arg>> [--check-trust|-C] 
[--never-check-trust|-N] --sftp <arg>] [--dir <arg>] [--quiet|-q] [--graceful ]
[--output|-o <arg>] [--nolog] [--config <arg>] [--help|-h]
Table 1. multiserase command specific parameters
ParameterRequired/OptionalNotes
--configfileRequiredSpecify the configuration file for the multi task commands. The format is: Sample/multi_task_config.json.
--dirOptional

Specifies the directory for BMU boot required platform package.

If no --dir is specified, the current directory will be used.

--erasefileRequiredSpecify the configuration file for the serase command. The format is Sample/erasefile.json.
--gracefulOptionalGracefully power off OS in the platform update process.
--sftpOptionalSpecify the SFTP server for old servers. The format is user:password@IP:port.
  • --check-trust, -C

  • --help, -h

  • --never-check-trust, -N

  • --nolog, -n

  • --output, -o

  • --quiet, -q

 

Refer to Table 2.

Example of the multiserase command

OneCli.exe multiserase –configfile sample/multi_task_config.json --erasefile sample/erasefile.json