You can use the hanetbackup command to create a backup of the virtual adapter settings made using the hanetconfig command.
Format
hanetbackup -f backupfilename
Description
Creates a backup file containing the virtual adapter settings made using the hanetconfig command.
Options
-f backupfilename
Specifies the name of the virtual adapter settings backup file. If you are creating the backup file in the current folder, you only need to specify the file name. If you are creating the backup file in a folder other than the current folder, you must specify the file path as well as the file. You can also specify a remote machine as a file backup target.
Notes
IP address settings are not backed up. For this reason, you must remake the IP address settings of the virtual adapter when you restore the system.
The backup cannot be performed if you specify a backup file on a remote computer and there is an error in the IP address of that computer, or there is any problem with the network settings or the network itself.
Examples
1
To create a backup of the virtual interface settings backup file (glsbackup) in the current folder:
> hanetbackup -f glsbackup |
2
To create a backup of the virtual interface settings backup file (glsbackup) on the C drive:
> hanetbackup -f C:\glsbackup |