Microsoft Knowledge Base Email Alertz

KBAlertz.com: (820390) - This article describes how to manually export and import Event Logging and Performance Counter data held in the MSSQL$MSAC database on Application Center 2000 computers.

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com

ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 820390 - Last Review: April 22, 2004 - Revision: 2.3

How to manually export and import event logging and peformance data

On This Page

SUMMARY

This article describes how to manually export and import Event Logging and Performance Counter data held in the MSSQL$MSAC database on Application Center 2000 computers.

Create SQL Script Files


To create Backup.sql, follow these steps:
  1. Click Start, and then click Run.
  2. Type notepad.exe.
  3. Paste the following text in Notepad:
    backup database aclog to disk = 'c:\aclog.bak'
    go
  4. Click File, and then click Save As.
  5. In the Save as type list box, click All Files, and then save the file as Backup.sql.
To create Restore.sql, follow these steps:
  1. Click Start, and then click Run.
  2. Type notepad.exe.
  3. Paste the following text in Notepad:
    use master
    alter database aclog
    Set Single_User with Rollback Immediate
    go
    restore database aclog from disk = 'c:\aclog.bak'
    go
  4. Click File, and then click Save As.
  5. In the Save as type list box, click All Files, and then save the file as Restore.sql.

Create Export and Import Batch Files

To create an export batch file, follow these steps:
  1. Click Start, and then click Run.
  2. Type notepad.exe.
  3. Paste the following text in Notepad:
    Osql.exe -E -S .\MSAC -i c:\backup.sql -o c:\backup_log.txt
  4. Click File, and then click Save As.
  5. In the Save as type list box, click All Files, and then save the file as Export.bat.
To create an import batch file, follow these steps:
  1. Click Start, and then click Run.
  2. Type notepad.exe.
  3. Paste the following text in Notepad:
    Osql.exe -E -S .\MSAC -i c:\restore.sql -o c:\restore_log.txt
  4. Click File, and then click Save As.
  5. In the Save as type list box, click All Files, and then save the file as Import.bat.

Run the Export Batch File

To run the export batch file, follow these steps.

Note You must run the Export.bat file while your computer is still part of an existing cluster.
  1. Copy the SQL script files and the batch files to drive C.
  2. Click Start, and then click Run.
  3. Type explorer.exe.
  4. Expand My Computer, and then click drive C.
  5. Locate and then double-click Export.bat.
  6. Locate and then double-click Backup_log.txt.
  7. Make sure that the log file indicates that the batch file was successful.

Upgrade to Application Center 2000 SP2

To upgrade to Application Center 2000 Service Pack 2 (SP2), see the Readme.htm file on the Application Center 2000 SP2 CD.

Run the Import Batch File

To run the import batch file, follow these steps.

Note You must run the Import.bat file after you add your computer to an Application Center 2000 SP2 cluster.
  1. Click Start, and then click Run.
  2. Type explorer.exe.
  3. Expand My Computer, and then click drive C.
  4. Locate and then double-click Import.bat.
  5. Locate and then double-click Restore_log.txt.
  6. Make sure that the log file indicates that the batch file was successful.
Note If the performance data does not appear in the Application Center 2000 Microsoft Management Console (MMC), restart your computer.


APPLIES TO
  • Microsoft Application Center 2000 Standard Edition
  • Microsoft Application Center 2000 Service Pack 2
Keywords: 
kbhowtomaster KB820390
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Be the first to leave feedback, to help others about this knowledge base article.

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please