3Com V7000 Network Router User Manual


 
76 CHAPTER 4: BACKING UP AND RESTORING A VCX CONFIGURATION
VCX Configuration, some configuration files and directories may be
designated as optional. Optional files and directories are backed up if
present when the
vcx-config-backup command is executed. Optional
files configured after the backup operation are removed during the
restore operation. Similarly, the content of a directory backup replaces in
full the content of the directory at the time of the restore. This may
include the removal of any extra files which were added since the backup
was created. To avoid losing configuration data, perform a backup
operation whenever you change or add to a VCX system configuration.
To restore a VCX configuration backup file:
1 Log in, using the root account, to the machine hosting the VCX
configuration you want to restore.
2 Enter the following command:
vcx-config-restore [optional-arguments] <backup-filename>
If you do not specify a path for the <backup-filename>, the command
looks for the backup file in the current location and then in the
/opt/3com/VCX/backup directory.
The optional arguments include:
--help — Displays information on command usage.
--fullauto — Specifies that the command should run in
automatic mode. In this mode, command execution does not
provide any interactive prompts or queries.
--exclude-os — Restores all VCX configuration files except the
VCX operating system configuration files.
--nobackup — Specifies that command execution will not create a
backup of the current VCX configuration before restoring the
specified backup file.
For
<backup-filename>, enter the name of the backup file you want to
restore. See About the Backup File
for a description of backup filenames.
When the restore operation completes, all backed-up configuration files
are restored to their proper locations.
During a typical restore operation, command output indicates VCX
services are being stopped. Services will not restart automatically when
the restore completes because additional steps for example, database
restoration) are required.