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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Backups in LMS 2.6

I was performing a backup and it did not write if the backup was successful to the dbbackup.log file located in /var/adm/CSCOpx/log/ directory. It was the first generation so it created the 0 directory, rmeng, cm, dfm directories. I noticed a .LOCK file in the 0 directory. Is that suppose to be there?

5 REPLIES
Cisco Employee

Re: Backups in LMS 2.6

The LOCK file remains until the backup completes. It sounds like someone or something killed off the backup script while it was running.

New Member

Re: Backups in LMS 2.6

So should I try to kick of the backup again to see if it works. Also, the .LOCK file had 0 bytes. Can I delete it?

Cisco Employee

Re: Backups in LMS 2.6

Sure. Before you start a new backup, you must manually remove the LOCK file.

New Member

Re: Backups in LMS 2.6

I removed the .LOCK file, kicked off the backup again, it created another LOCK, but when I went in to view the dbbackup.log file, there was no history of the backup starting. Also, the last backup failed because of the LOCK file. Is there something else I could look at to see why it is failing.

Cisco Employee

Re: Backups in LMS 2.6

Do this. Remove the LOCK file, then, as root, run:

/opt/CSCOpx/bin/perl /opt/CSCOpx/bin/backup.pl PATH

Where PATH is the desired backup location. Make sure this runs successfully. If it does, there may be a cron issue with casuser being able to run cron jobs; or cron jobs being prematurely terminated.

134
Views
0
Helpful
5
Replies