Re: ponit in time restore
From: Hari (hari_prasad_k_at_hotmail.com)
Date: 05/25/04
- Next message: Rand Boyd [MSFT]: "RE: multihomed sql configuration"
- Previous message: Rand Boyd [MSFT]: "RE: Copy Database Wizard problem"
- In reply to: John: "ponit in time restore"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 25 May 2004 20:39:05 +0530
Hi,
POINT_IN_TIME restore will work only if your Recovery mode is FULL for that
database.
If it is FULL then:-
1. Take a backup transaction log in current database
2. Create a new database
3. Restore with full backup file with NORECOVERY (Use below command)
RESTORE database new_dbname from disk='file' with NORECOVERY, MOve
'logical_mdf' to 'physical_mdf',
move 'logical_ldf' to 'physical_ldf'
4. Restore the transaction log backup taken in step-1 with RECOVERY and
STOPAT option
RESTORE log new_dbname from disk='tran_backup_file' with RECOVERY, STOPAT
= ''May 24, 2004 03:44 AM'
Thanks
Hari
MCDBA
"John" <anonymous@discussions.microsoft.com> wrote in message
news:1222f01c44265$de1f7470$a101280a@phx.gbl...
> We need to do a point in time restore to 03:44 on
> 24/05/2004 and we have the following backups:
> FULL 14:00
- Next message: Rand Boyd [MSFT]: "RE: multihomed sql configuration"
- Previous message: Rand Boyd [MSFT]: "RE: Copy Database Wizard problem"
- In reply to: John: "ponit in time restore"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|