Filter:

Submit Search

# Restoring server configuration from the command line interface

1. To restore a server configuration from the command line interface as a "root" user, copy the backup file in /data/tmp on the SMC server using SSH.
2. Log in to the SMC server via the console of your hypervisor or in SSH.
3. Enter the command
   `smc-config-restore --backup-file /path/to/backup`. Replace `/path/to/backup` with the path and name of the file.
4. If the backup file has been encrypted with a password, enter the command smc-config-restore --backup-file /path/to/backup --password <my_password>. Replace /path/to/backup with the path of the file and my_password with the encryption password of the backup.
5. Reboot.

To know how to create a server backup, refer to sections Saving the server configuration from the web interface and Saving the server configuration from the command line interface.