svcconfig
Use the svcconfig command help option to obtain summary information about the syntax of the svcconfig command and actions. You can enter this command any time after a system is created.
Syntax
Parameters
- backup
- (Optional) Saves the current system configuration in the /dumps/svcconfig directory.
- -quiet
- (Optional) Suppresses standard output (STDOUT) messages from the console.
- clear
- (Optional) Erases the files in the /dumps/svcconfig directory.
- -all
- (Optional) Erases all configuration files.
- -f | force
- (Optional) Forces continued processing where possible.
- -q | quiet
- (Optional) Suppresses console output (STDOUT).
- restore
- (Optional) Checks the current configuration against the backup configuration in the /dumps/svcconfig directory.
- -prepare -fmt | fmtdisk
- (Optional) Verifies the current configuration against the information in svc.config.backup.json; then prepares commands for processing in svc.config.restore.sh, and then produces a log of events in svc.config.restore.prepare.
- -execute
- (Optional) Runs the command script svc.config.restore.sh, and produces a log of events in svc.config.restore.execute.log.
- -startline line_number
- (Optional) A child parameter of -execute in the svcconfig restore which command allows recovery to resume from a specified line in the generated commands file.
- -fmt
- (Optional) Specifies that the volume should be formatted before use. Includes the -fmtdisk option on all mkvdisk commands to be issued. You cannot specify -fmt with -execute.
- -fmtdisk
- (Optional) Specifies that the volume should be formatted before use. You cannot specify -fmtdisk with -execute.
- -v on | off
- Produces verbose output (on); the default is regular output (off).
- -ver
- (Required) Returns the version number for the svcconfig command.
Description
This command provides syntax help for svcconfig.
After you use the svcconfig restore command to restore the system configuration from backup, the two person integrity (TPI) setting must be manually re-enabled on the system.
The svcconfig restore command cannot restore the recovery key automatically if the only form of encryption is recovery access key. User need to configure encryption using either USB or key server before proceeding.
An invocation example
svcconfig -ver
svcconfig -?
svcconfig backup