Saving the server configuration from the command line interface

  1. To back up the server configuration from the command line interface as the "root" user, connect to the SMC server via the console of your hypervisor or in SSH.
  2. Enter the command
    smc-config-backup
    The name of the archive name is displayed.
  3. To save the configuration without the deployment history, enter the command
    smc-config-backup --no-history.
  4. If you wish to encrypt the backup, type the command smc-config-backup --password <my_password>. Replace my_password with the encryption password of the backup. The password must comply with the password policy set for administrators who have local accounts.

The configuration backup file can be restored from:

  • The SMC server web interface,
  • The command line interface,
  • The SMC server initialization wizard.

For more information, refer to sections Restoring server configuration from the web interface, Restoring server configuration from the command line interface and Restoring server configuration from the initialization wizard.