LiteSpeed for SQL Server(7.5)
•
Learning objectives- Slides # 3
•
Restore functional overview- slides # 4
•
Common restore issues- slides # 8
•
Common restore error explanation- slides # 10
•
Troubleshooting restore checklist-slides # 16
•
Prerequisites for contacting support-slides # 20
Slide Index
Learning Objectives
•
Upon completion of this presentation, the student should be able to:
–
Identify the actual problem the user has reported.
–
Create and read LiteSpeed log file.
–
Search knowledge base.
–
Identify, troubleshoot, and resolve common LiteSpeed restore problems.
–
Solve the issue or gather the necessary information to escalate the case.
How To Diagnose & Troubleshoot
(LiteSpeed) Functional Overview
Restore
Restore components:
1.
LiteSpeed console.
2.
Restore with script.
exec master.dbo.xp_restore_database @database = N'TestDB1' ,
@filename N'C:\LSBACKUP\TemplateFolder\DailyDB\ALVHLY2_DailyDB_full_1351710237.bak', @filenumber = 1,
@with = N'REPLACE‘,@with = N'STATS = 10',
@with = N'MOVE N''DailyDB'' TO N''C:\Program Files\Microsoft SQL Server\MSSQL10.BOSTON\MSSQL\DATA\TestDB1.mdf''', @with = N'MOVE N''DailyDB_log'' TO N''C:\Program Files\Microsoft SQL
Server\MSSQL10.BOSTON\MSSQL\DATA\TestDB1_1.ldf''', @affinity = 0,@logging = 2
GO
1.
Command prompt.
Restore the Northwind database from the backup device c:\temp\Northwind.bak using variables: sqllitespeed.exe -R Database -D Northwind -F "C:\temp\%D.bak"
(LiteSpeed) Functional Overview
Restore - continues
Restore:
1.
Restore from console.
Select target database for restore.
Option to kill all the current connections
2.
Restore script GUI sample;
exec master.dbo.xp_restore_database @database = N'DailyDB' ,
@filename = 'C:\LSBACKUP\TemplateFolder\DailyDB\ALVHLY2_DailyDB_full_1351710237.bak', @filenumber = 1,@with = N'REPLACE',@with = N'STATS = 10',
@affinity = 0,@logging = 2 GO
(LiteSpeed) Functional Overview
Restore from command line - continues
Restore:
1.
Command prompt restore
2.
Sample script;
Restore the Northwind database from the backup device c:\temp\Northwind.bak using variables: