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.
back to the topCreate SQL Script Files
To create Backup.sql, follow these steps:
- Click Start, and then click Run.
- Type notepad.exe.
- Paste the following text in Notepad:
backup database aclog to disk = 'c:\aclog.bak'
go
- Click File, and then click Save As.
- 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:
- Click Start, and then click Run.
- Type notepad.exe.
- 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
- Click File, and then click Save As.
- In the Save as type list box, click All Files, and then save the file as Restore.sql.
back to the topCreate Export and Import Batch Files
To create an export batch file, follow these steps:
- Click Start, and then click Run.
- Type notepad.exe.
- Paste the following text in Notepad:
Osql.exe -E -S .\MSAC -i c:\backup.sql -o c:\backup_log.txt
- Click File, and then click Save As.
- 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:
- Click Start, and then click Run.
- Type notepad.exe.
- Paste the following text in Notepad:
Osql.exe -E -S .\MSAC -i c:\restore.sql -o c:\restore_log.txt
- Click File, and then click Save As.
- In the Save as type list box, click All Files, and then save the file as Import.bat.
back to the topRun 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.
- Copy the SQL script files and the batch files to drive C.
- Click Start, and then click Run.
- Type explorer.exe.
- Expand My Computer, and then click drive C.
- Locate and then double-click Export.bat.
- Locate and then double-click Backup_log.txt.
- Make sure that the log file indicates that the batch file was successful.
back to the topUpgrade 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.
back to the topRun 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.
- Click Start, and then click Run.
- Type explorer.exe.
- Expand My Computer, and then click drive C.
- Locate and then double-click Import.bat.
- Locate and then double-click Restore_log.txt.
- 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.
back to the top