Table Of Contents
Restoring Portal Using CLI Commands
Restoring Portal Using CLI Commands
This section provides the Restore CLI command for CiscoWorks LMS Portal.
You can use the RestorePortal.pl command, if the CiscoWorks LMS data is corrupted or if the database restore operation has failed.
It also restores the default views and portlets. However, all the customized and configured features in CiscoWorks LMS Portal will be lost.
Before running the RestorePortal.pl command, you must stop or shut down the Daemon Manager.
Table 13-1 lists the Restore command using Solaris.
Table 13-1 Restore Portal Command Using Solaris
Command
|
Description
|
RestorePortal.pl
|
To stop the Daemon Manager, enter the following command:
portal-ch-sf1# /etc/init.d/dmgtd stop
To restore the default features, enter the following command:
portal-ch-sf1#/opt/CSCOpx/bin/perl /opt/CSCOpx/bin/RestorePortal.pl
The following warning message appears that the customization done in the portal will be lost
WARNING: All customization in portal will be lost.
If you want to continue restoring portal, enter y as shown below.
Do you want to continue [y/n]?y Restore portal is completed. portal-ch-sf1#
|
Table 13-2 lists the Restore command using Windows.
Table 13-2 Restore Portal Command Using Windows
Command
|
Description
|
RestorePortal.pl
|
To stop the Daemon Manager, enter the following command:
Command prompt> net stop crmdmgtd
Where NMSROOT is the CiscoWorks Installed directory.
To restore the default features, enter the following command:
Command prompt> NMSROOT/bin/perl
NMSROOT/bin/RestorePortal.pl
Where NMSROOT is the CiscoWorks installed directory.
The following warning message appears that the customization done in the portal will be lost
WARNING: All customization in portal will be lost.
If you want to continue restoring portal, enter y as shown below.
Do you want to continue [y/n] y Restore portal is completed.
|