Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Problems restoring LMS 2.5

I'm moving Ciscoworks (LMS 2.5 on windows) to a dedicated server. Running into problems however restoring the existing database to the new server.

A perl script is shipped with Ciscoworks to accomplish the restore. Running this:

"perl restorebackup.pl -gen 35 -d c:\temp\restore\cw_backup"

results in the following output:

--------------------

ERROR in extracting single file

ERROR in executing the tar-command [-1]

Restore failed

----------------

Extract from the restorebackup.log file.

------------------------------------

[Tue Nov 28 16:09:20 2006] [ tar xvf filebackup.tar -T filebackup.current -O >temp\OGRA~1/CSCOpx/lib/classpath/com/cisco/nm/cmf/servlet/cwpass ]

The system cannot find the path specified.

ERROR: In executing tar xvf filebackup.tar -T filebackup.current -O >temp\OGRA~1/CSCOpx/lib/classpath/com/cisco/nm/cmf/servlet/cwpass

[Tue Nov 28 16:09:20 2006] ERROR: In executing tar xvf filebackup.tar -T filebackup.current -O >temp\OGRA~1/CSCOpx/lib/classpath/com/cisco/nm/cmf/servlet/cwpass

[Tue Nov 28 16:09:20 2006] ERROR: Error in extracting single file.

Any suggestions as to how to resolve this would be warmly welcomed. Thanks in advance.

5 REPLIES
Cisco Employee

Re: Problems restoring LMS 2.5

Under which version of LMS was the backup taken? I've only ever seen this error when the backup was taken on an LMS 2.1 or 2.2 server.

New Member

Re: Problems restoring LMS 2.5

Thanks for your reply.

The backup was also taken under LMS 2.5.

No updates have been applied to either machines - LMS 2.5 installed straight out of the box.

When restoring to the new machine it makes all the right noises to start with, then errors.

Cisco Employee

Re: Problems restoring LMS 2.5

What is different between the two LMS installations?

New Member

Re: Problems restoring LMS 2.5

The new server has a different IP address. Other than that, we're simply backing up a database from one existing LMS 2.5 server for restoration onto a new freshly installed LMS 2.5 server.

Cisco Employee

Re: Problems restoring LMS 2.5

I believe this is related to CSCsa76999. The way you can verify this is to look at the filebackup.list file after the restore starts (this file will be in the temporary restore location). There should be a line in this file that contains cwpass. The restore script is expecting this line to being with a driver letter (e.g. C:\PROGRA~1\CSCOpx\...). However, your backup does not have this driver letter. Yours must look like \PROGRA~1\CSCOpx\... This causes a problem as the restore will strip off the first three characters (i.e. "\PR").

Unfortunately, the solution is to upgrade to at least LMS 2.5.1 on both servers, take a new backup on the original server, then restore it to the new server.

140
Views
0
Helpful
5
Replies
CreatePlease login to create content