Re: Transaction Log ??
From: Cameron (cgmergel@hotmail.com)
Date: 07/26/02
- Next message: GilbertIce: "Re: HotFix 8.00.0655"
- Previous message: Peter Saddow [MS]: "Re: HotFix 8.00.0655"
- In reply to: Shamim: "Transaction Log ??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Cameron" <cgmergel@hotmail.com> Date: Fri, 26 Jul 2002 09:39:45 -0700
Shamim,
I used this the other day to recover one of my databases.
Cameron
Intuitive Mfg. Systems
RESTORE DATABASE IERP52Test
FROM DISK = 'd:\IERPSRV\IERP52Test\Backup\IERP52Test_db_200207240100.bak'
WITH NORECOVERY
GO
RESTORE LOG IERP52Test
FROM DISK =
'd:\IERPSRV\IERP52Test\Backup\IERP52Test_tlog_200207240600.trn'
WITH NORECOVERY
GO
RESTORE LOG IERP52Test
FROM DISK =
'd:\IERPSRV\IERP52Test\Backup\IERP52Test_tlog_200207240900.trn'
WITH NORECOVERY
GO
RESTORE LOG IERP52Test
FROM DISK =
'D:\IERPSRV\IERP52Test\Backup\IERP52Test_TLOG_200207241200.TRN'
WITH RECOVERY, STOPAT = 'Jul 24, 2002 10:15 AM'
"Shamim" <shamim.abdul@railamerica.com> wrote in message
news:#5Hi9$ZMCHA.2456@tkmsftngp09...
> HI All,
> SQL SERVER 7.0
>
> Iam in the process of restoring a database from last night complete backup
> and then applying transaction log till the recent (we backup transaction
log
> every 30 minutes).
>
> Transaction Log backups are stored with the name DB_tlog_200207221030 (for
> todays 10.30 backup).
>
> In Enterprise Manager, when trying to restore it shows only the complete
> backup. How to look at all the transaction log??
>
> In database Transaction Log is pointed to :d\....\dbLog.LDF.
> If I want to use T-SQL
> Example says
>
> RESTORE LOG MyDB FROM MyDB_Log1 WITH NORECOVERY
>
> What is MyDB_Log1 ??? is it transaction log filename ?? If so, should i
have
> to give the full filename ??
>
> Please help/Advice.
>
> Thanks
> Shamim
>
>
- Next message: GilbertIce: "Re: HotFix 8.00.0655"
- Previous message: Peter Saddow [MS]: "Re: HotFix 8.00.0655"
- In reply to: Shamim: "Transaction Log ??"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|