cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
939
Views
0
Helpful
3
Replies

LMS data restore failed

SISCCC_LMS
Level 1
Level 1

Dear,

I am doing the migration for LMS 2.6 from to a new server, after system installation, I tried to do the data backup and restore.

I did the data resotre by command:

D:\CSCOpx\bin\perl D:\CSCOpx\bin\restorebackup.pl -d E:\BackupFromPekw015a\CSCODBBACKUP -gen 163 -t E:\BackupTempFile

Where D:\CSCOpx is the installation path of the LMS 2.6.

But the restore failed with log as below, is there anyone could help to check what the problem is?

Thanks in advanced.

[Mon Jan 24 14:16:21 2011]
[Mon Jan 24 14:16:21 2011]
[Mon Jan 24 14:16:21 2011] <Restore started at 2011/01/24 14:16:21>
[Mon Jan 24 14:16:21 2011]    <Initializing starts>
[Mon Jan 24 14:16:21 2011]       The OS is WINDOWS
[Mon Jan 24 14:16:21 2011]       Finding the OS of the backup archive
[Mon Jan 24 14:16:21 2011]          Presence of : in E:\BackupFromPekw015a\CSCODBBACKUP\163\cmf\userinfo\datafiles.txt confirms the archive is windows

[Mon Jan 24 14:16:21 2011]       Finding the OS of the backup archive, completed.
[Mon Jan 24 14:16:21 2011]            OS of the backup archive is..................... : Windows
[Mon Jan 24 14:16:21 2011]       <Checking the presence of TEMP/tempBackupData>
[Mon Jan 24 14:16:21 2011]          Creating E:\BackupTempFile\tempBackupData
[Mon Jan 24 14:16:21 2011]          [ mkdir E:\BackupTempFile\tempBackupData ]
[Mon Jan 24 14:16:21 2011]       <Checking the presence of TEMP/tempBackupData, completed.
[Mon Jan 24 14:16:21 2011]       Finding CMF version from the backup archive
[Mon Jan 24 14:16:21 2011]       INFO: The patch version of D:\CSCOpx\setup\cmf.info is [6]
[Mon Jan 24 14:16:21 2011]       INFO: The patch version of E:\BackupFromPekw015a\CSCODBBACKUP\163\cmf\cmfversion.info is [6]
[Mon Jan 24 14:16:21 2011]       The presence of E:\BackupFromPekw015a\CSCODBBACKUP\163\cmf\cmfversion.info confirms its CDONE3.0 data
[Mon Jan 24 14:16:21 2011]       <Finding the applications installed in the machine>
[Mon Jan 24 14:16:21 2011]       <Finding the applications installed in the machine, completed.>
[Mon Jan 24 14:16:21 2011]       <Finding applications in backup archive>.
[Mon Jan 24 14:16:21 2011]       <Finding applications in backup archive, completed>.
[Mon Jan 24 14:16:21 2011]       <Finding NMSROOT of archive>
[Mon Jan 24 14:16:21 2011]          [ D:\CSCOpx\bin\tar tf E:\BackupFromPekw015a\CSCODBBACKUP\163\cmf\filebackup.tar --force-local >E:\BackupTempFile\tempBackupData\filebackup.list ]
[Mon Jan 24 14:16:21 2011]          ERROR: lib\classpath\com\cisco\nm\cmf\servlet\cwpass NOT present. Cannot find NMSROOT in archive
[Mon Jan 24 14:16:21 2011]          <Deleting directory E:\BackupTempFile\tempBackupData>
[Mon Jan 24 14:16:21 2011]             [ rd /s /q E:\BackupTempFile\tempBackupData ]
E:\BackupTempFile\tempBackupData\filebackup.list - The process cannot access the file because it is being used by another process.
[Mon Jan 24 14:16:21 2011]             ERROR: Unable to delete directory E:\BackupTempFile\tempBackupData in deleteDirectory()
[Mon Jan 24 14:16:21 2011]             WARNING: Unable to delete the temp directory E:\BackupTempFile\tempBackupData.
[Mon Jan 24 14:16:21 2011]          <Restore stoped at 2011/01/24 14:16:21>

3 Replies 3

ngoldwat
Level 4
Level 4

Hi,

ERROR: lib\classpath\com\cisco\nm\cmf\servlet\cwpass NOT present. Cannot find NMSROOT in archive

Have you checked the backup log to verify the files are not currupted?

You may want to execute a new backup, verify it completed sucsessfully and then try importing it again.

Thanks,

Nick

Dear Nick,

Thanks for your reply, I have tried to do a new backup and restored it, but still the same.

Then I checked the backup file, found only three folder: campus, cmf, rmeng. No folder for Comman Service

I think that may be why system couldn't find the file: lib\classpath\com\cisco\nm\cmf\servlet\cwpass

Is there's the problem? Why there's no backup file for Comman Service?

Long Fei

Hi,

It is interesting that the restore could create E:\BackupTempFile\tempBackupData but then issue:


ERROR: Unable to delete directory E:\BackupTempFile\tempBackupData

Does this folder actually exist?

Please attach both the backup log and restore log for the most recent attempt.

Thanks.