Chapter 5: Backing Up the Appliance Configuration
[Net_HSM] lunash:>sysconf config restore -service users -file Net_HSM_Config_20120222_
0556.tar.gz
WARNING !!
This command restores the configuration backup file: Net_HSM_Config_20120222_
0556.tar.gz.
It first creates a backup of the current configuration before restoring: Net_HSM_Config_
20120222_0556.tar.gz.
If you are sure that you wish to proceed, then type 'proceed', otherwise type 'quit'.
> proceed
Proceeding...
Created configuration backup file: Net_HSM_Config_20120222_0606.tar.gz
Restore the users configuration: Succeeded
You must reboot the appliance for the changes to take effect.
Please check the new configurations BEFORE rebooting or restarting the services.
You can restore the previous configurations if the new settings are not acceptable.
Command Result : 0 (Success)
[Net_HSM] lunash:>sysconf appliance reboot
WARNING !!
This command will reboot the appliance.
All clients will be disconnected.
If you are sure that you wish to proceed, then type 'proceed', otherwise type 'quit'
> proceed
Proceeding...
'hsm supportInfo' successful.
Use 'scp' from a client machine to get file named:
supportInfo.txt
Broadcast message from root (pts/1) (Wed Feb 22 08:00:41 2012):
The system is going down for reboot NOW!
Reboot commencing
Command Result : 0 (Success)
7.
After rebooting again, we are able to log in with our original "admin" password.
Once again we check the list of users.
[Net_HSM] lunash:>user list
Users
Roles
Status
RADIUS
admin
admin
enabled
no
bob
monitor
enabled
no
john
admin
enabled
no
monitor
monitor
enabled
no
operator
operator
enabled
no
We see that users "bob" and "john" have returned. We could also log in as "operator" and "monitor" and find
that their chosen passwords have been restored.
8.
Finally, ask for the list of system configuration backup files one more time.
[Net_HSM] lunash:>sysconf config list
Configuration backup files in file system:
Size
| File Name
| Description
---------------------------------------------------------------------------------------------
16641
| Net_HSM_Config_20120222_0556.tar.gz
| testing-this
SafeNet Luna Network HSM 7.3 Appliance Administration Guide
007-013576-005 Rev. A 13 December 2019 Copyright 2001-2019 Thales
58