Sql Server 2000 Point In Time Rollback?

Oct 27, 2005

hi. i am managing a sql server 2000 database. for some reason, a table got dropped from the database--why i don't know; i'll worry about that later. is there a way to "rollback" the database to a point in time...say like 5 minutes ago? I have taken the database offline for the moment so no more changes can take place. i have never done this before and i would really appreciate some advice/online tutorials/help on this matter. i do have a full backup of the database because of nightly backups. any help will be greatly appreciated. thanks!

View 1 Replies


ADVERTISEMENT

SQL Server 2000 - Restoring (point In Time)

Jul 23, 2005

Dear All,Do anyone know where I can find some useful documentation or anydocumentationabout restoring database to the point in time (using logs).SQL Server 2000 on Win 2000Thanks for all,M&M

View 1 Replies View Related

SQL 2000 Point In Time Return

Jan 18, 2008

If I want to return to a point in time for all my databases in SQL 2000 can I just copy all the files in the data directory to a safe place. And then when I want to go back to that point in time, just copy them all back?

View 4 Replies View Related

Rolling Back Sql 2000 To A Point In Time

Aug 9, 2005

I would appreciate a bit of advice here. There is a largish complaint here regarding a cutomer who has entered data in 1 of our online forms, but we suspect this was then overwritten by a cached form she also had open.
Anyway to cut a long story short i need to roll back the database to a point in time.

Not something i have ever had to do.

The row where the id field is equal to 3352, and this would have been written to the database at 14:58:36 on 08-aug-2005. This was over written by the data in row with id 3380 at about 11am this morning, now is this is a live database on a webserver so i cant compromise its uptime as it get written to about 3 times a minute, so how should i go about this?


Anyway, what do you think?


Cheers

View 2 Replies View Related

Is Point In Time Recovery To A Point Before The Last Full Database Backup Possible?

Mar 26, 2008

Hello all,

First off, I appreciate the time that those of you reading and responding to this request are offering. My quesiton is a theoretical and hopefully simple one, and yet I have been unable to find an answer to it on other searches or sources.

Here's the situation. I am working with SQL Server 2005 on a Windows Server 2003 machine. I have a series of databases, all of which are in Full recovery mode, using a backup device for the full database backups and a separate device for the log backups. The full backups are run every four days during non-business hours. The log backups are run every half hour.

Last week, one of my coworkers found that some rarely-used data was unavailable, and wanted to restore a database to a point in time where the data was available. He told me that point in time was some time back in November.

To accomplish this, I restored the database (in a separate database, as to not overwrite my production database) using the Point in Time Recovery option. I selected November from the "To a point in time" window (I should note that this window is always grey, never white like most active windows, it seems), and the full database backup and the subsequent logs all became available in the "Select the backup sets to restore" window.

I then tried a bevy of different options from the "Options" screen. However, every restore succeeds (ie: it doesn't error out), but seems to be bringing the database back to a current point in time. It's never actually going back to the point in time I specify.

My questions are as follows:

a) Is it possible to do a point in time recovery to a point in time BEFORE the last full database backup?

b) If so, what options would you recommend I use? (ie: "Overwrite the existing database", restore with recovery, etc etc).

I again appreciate any and all advice I receive, and I look forward to hearing from anyone and everyone on this topic. Thank you.

Ryan

View 4 Replies View Related

Sql Server Point In Time Recovery

Nov 11, 2001

Is is true that in SQL Server 7, a point in time recovery can not read the active logs? So that any point in time recovery has to be with in some time frame of the backups of the logs?
Example:
If you have a full backup at 5 am.
Log backups every 2 hours.
You need to recover at 3:55. You would have to go back to your full backup from 2 am and the transaction logs from 6, 8, 10, 12, and 2.
You would lose any work done from 2-3:55pm?

View 3 Replies View Related

SQL Server 2008 :: Restore Database To A Point Of Time

Sep 1, 2015

Can I use a full and differential backup to restore to a point of time?

Or I have to use full and transaction log backups in order to do a point of time restore?

I found today when I tried to restore a db from another database at the point of time for example 3:10 pm,
SSMS automatically select the full backup + the transaction backup that is done at 3:00 pm, but not select full + the differential backup I did at 3:12pm.

So I lost those records entered after 3:00pm.

I supposed it should use the differential backup and restore to 3:10. but it didn't.

View 8 Replies View Related

SQL Server 2008 :: Restore To Point In Time DURING Differential Backup

Feb 25, 2015

We have a 1TB Database. Our backup strategy looks like this.

Weekly Full backups - Saturday 10pm. (Takes anywhere between 5 - 9 hours)
twice Nightly Diffs (8:30p and 2:30am - Mid week this takes roughly 1.5 hours)
Hourly Log backups starting at 4:00am until 11pm.

I have an issue where I need to restore to 3:00 today. If my (2:30a)Diff is still running at that recovery point.

I am getting an error when trying to restore Full/2:30a Diff/4a Log with a stopat 3:00a.

Error telling me my log backup is incorrectly formed.

Can I, in fact, restore to this point at all? Do I need to go back to my previous Diff (8:30p) and restore the logs, if so, which ones?

My nighttime Diff ran from 8:30 - 10p.

I have logs at 9p, 10p, 11p, 4a

View 8 Replies View Related

DB Engine :: Time Testing Azure Point In Time Database Restores?

Sep 21, 2015

I need to do a time test for restoring an Azure SQL database from a point in time. Can I automate this through PowerShell.

View 3 Replies View Related

SQL Server 2000 Rollback?

Jul 20, 2005

I've accidentally (of course) overwritten all Intranet database tablesin production with those in dev using DTS. I'm meant to only copy overnew tables but somehow got everything instead. Server guys said backupsweren't running for some reason. Is there anyway I can revert thisdatabase back to earlier in the day?--Posted via http://dbforums.com

View 2 Replies View Related

How To Find Point In Time Or Last Committed Time In Log Backup

Jun 25, 2015

I am reading about the RESTORE command to a point in time using logs, I would like to know the minimum point in time recovery for a backup image using T-SQL command before applying a log restore and what are the log ranges needed for the restore during restore.

 My Version 2008 R2

View 7 Replies View Related

SQL Server Admin 2014 :: Point In Time Restores Referencing Copy-only Backups?

Nov 25, 2014

On one of our SQL Server 2014 boxes each database has a copy-only full backup made every night, in addition to the maintenance plan schedule of a full backup weekly, daily differential backups and log backups.

When performing a PIT restore in SSMS the restore file list lists the most recent copy-only backup as the full backup to use, not the most recent plan full backup. I noticed that using SSMS 2008 to start a PIT restore on the 2014 box does not have this problem, and lists the correct restore file sequence (ignores the copy-only backups).

View 9 Replies View Related

ROLLBACK TRAN Destroying My SQL Server 2000

Mar 9, 2004

Good morning all!

I've created a a new column on a table:

CD_Line int identity


This ADD COLUMN command gave me an error on this morning, we're talking about 40 million rows on this table.
The ROLLBACK TRAN is destroying my system that can't login on the SQL Server and no application can by Database at this moment.

Do anybody know how to STOP this situation and recovery the system?

Tks!
Rafael

View 2 Replies View Related

Unable To Point To SQL 2000 Server

Mar 3, 2008



Hello,
I currently have two servers, one is a SBS2003 server running SQL 2005 and SSRS (2005) and a 2000 SQL server. I want to extract data from the 2000 server but keep getting this error: "Remote access to report data sources and/or the report server database" is not supported in this edition of Reporting Services. (rsOperationNotSupported)
When Iooked up this error, the only information I get is telling me that I can't do this in SQL Express, I'm not sure but I think the standard SQL in SBS is at least Workgroup?? What can I do to correct this?
Thanks

J.J.

View 2 Replies View Related

Floating Point Exception In SQL Server 2000

Oct 26, 2006

Hi,

I got below error in the SQL Server Production Server and i checked in the microsoft site it needs to install SQL Server service pack 4 to resolve the
problem.

"A floating point exception occurred in the user process. Current transaction is canceled"

I need help that i want to reproduce this below problem in the SQL Server environment and tried several ways but no luck.

Please advise me how to reproduce the problem.

Would be appreciate your help.

Regards
Sathish

View 4 Replies View Related

MSSQL 2000 / Project Server / Share-Point

Jan 15, 2007

Hi there SQLTEAM

We have just installed MSSQL 2000 / Project Server / Share-Point.
We've managed to publish a project plan to Project Server.

This project plan is now visible in Project Web Access.

Can someone point me in the right direction, I'm looking for all the data that is stored in SQL for example Projects / Tasks / resourses.

Is there a DATABASE DAIGRAM for project server?

View 1 Replies View Related

SQL Server Admin 2014 :: Is Bulk Logged Recovery Model Support Point In Time Recovery

Dec 23, 2014

is bulk logged recovery model support point in time recovery

View 9 Replies View Related

Restore Point In Time

Dec 8, 1999

I can't "point in time restore" a test DB if I had only a Full DB Backup (with overwrite option).



Example
12:00 Fullbackup new (overwrite)
12:01 update any rows
12:02 update any rows
12:03 delete any rows
12:05 Transaction Log backup (overwrite)
RESTORE: We can't set "point in Time" to 12:01 od 12:02 ???

why

View 2 Replies View Related

Point In Time Restore

Mar 13, 2000

Hi

1. could any one explain point in time recovery.

2. Problem we had was the database froze 'inload' while doing transaction restore. Is there any way to recover this


regards
rajeev

View 1 Replies View Related

Point In Time Balances

Aug 31, 2005

Hi, I am pretty new to Analysis Services and I have come across a small problem to do with point in time balances, I guess that this is similar shiver72's post titled 'Date Range Problem'. I am not really after a solution as such (although that would be great :-), more interested in a pointer to some resource(s) which I can read up on myself.

Here is the scenario:

A student enrols into a course that has a start and finish date. This enrolment has a certain value based upon its length, the course type etc which means that each
enrolment's 'value' can vary at any time between the start and finish dates.

For example a student may enrol in a full year basket weaving course with a value of 0.0500, they then enrol in a part year course titled 'Dimensional Modelling 101' with a value of 1.000

...and their enrolments would look like this...

01-JAN-2005 31-DEC-2005 0.0500
02-JAN-2005 15-JUN-2005 1.0000

The client wishes to know at any point in time the 'value' of their enrolments. These values can vary due to a student starting or finishing their enrolment, withdrawing, having their
enrolment suspended etc, etc

Now, in the Data Warehouse Toolkit it mentions point in time balances in the 'Financial Services' section but it uses SQL to prove the point which is no use to me because I am using MS Analysis Services to dynamically create the result.

As it says in the book its no use creating a row in the fact table to represent the value for each day that the enrolment is in effect because with 400,000 enrolments that works out to over 140 million rows. The alternative is to create one row for each occurence of the variation in the value of the enrolment and then the facts would be completely additive and useful.

I would be looking at using something similar to the following:

fact table
----------
fkdate
value
fksudent
fkcourse
<possibly some degenerate measure like the UID of the course enrolment held in the source system>

dimensions
----------
Student - and of course a whole heap of related dimensions like gender, age, ethnicity etc
Course

For example given the above information the fact table would look like this:

(Student UID is 2005123, course UIDs are 1000 and 1001)

20050101 0.0500 2005123 1000
20050102 1.0000 2005123 1001
20050615 -1.0000 2005123 1001
20051231 -0.0500 2005123 1000

That way I can run a query at, say 15-JUN-2005 and sum the values and it will come out with the correct balance - and yes I know that this idea is straight out of the book :-)

OK, if you've read to this point then I take it that you are an extremely patient person and therefore will forgive my next question.

My question is this, my clients use simple tools like Excel pivot tables to gouge the information they want out of the warehouse, sure, I can write an MDX query to get a point in time balance (just as soon as I learn a bit more about it) but is there _any_ way/means/algorithm/trick/way to hold your head to one side, that I can use so that they can still just 'drag and drop' using the pivot table service as opposed to having to me having to create an MDX-based report for them ?

cheers

View 2 Replies View Related

Point Of Time Recovery EM

Sep 2, 2004

We have been testing point of time recovery using EM and found that this does not work.
We enter date and time and do net get the logs restored. Even if we use the default date it does not work. In Query Analyser we have have managed to recover to a point in time. Anybody got any idea why EM does not work.
We are using 2000 sp3

View 2 Replies View Related

Point In Time Restore

Nov 26, 2004

My database is in full recovery mode. When I have created some full backups of the database, I would like try to point in time restore. Unfortunately, this option is greyed out on the restore screen. What have I done wrong?

View 1 Replies View Related

Point In Time Recovery

Oct 13, 2006

Dear All,
How do we accomplish point in time recovery with SQL Server database.

For example:
My backup schedule is
Monday - Complete database
Tuesday - transaction log backup
Wednesday-transaction log backup
Thursday - transaction log backup
Friday - Complete database
Saturday - transaction log backup
Sunday - transaction log backup

For complete database backup, I use the below syntax:

BACKUP DATABASE myDB
TO DISK= @File1
WITH DESCRIPTION = @Desc

For transaction log backup, I use the below syntax:
BACKUP LOG myDB
TO DISK= @File1
WITH DESCRIPTION = @Desc


With this scenario, can I accomplish a point in time recovery? For example, if my database crashes on thursday night. How do i do complete recovery till that time?

Pls guide...

Regards,
qA

View 1 Replies View Related

Point In Time Query &>:[

Jul 9, 2007

Hey guys and gals,

I'm having a real problem with this query at the moment...
Basically I have to produce a query which will tell me the total number of people employed by the company at any given date and the total salary for all these people.

We have a people table and a career table.
People(unique_identifier, known_as_and_surname, start_date, termination_date ...)
Career(unique_identifier, parent_identifier, career_date, basic_pay ...)
Relationship people.unique_identifier = career.parent_identifier

Employees can be identified like so

SELECT *
FROM people
WHERE start_date <= DateSelected
AND (termination_date > DateSelected
OR termination_date IS NULL)

Passing the selected date to the query is no trouble at all I am just having problems with the point in time side of this.

All and any help is greatly appreciated :)
~George

P.S. SQL Server 2000 ;)

View 14 Replies View Related

Can't Restore Point In Time

Jan 31, 2014

I know NOTHING about SQL. I have a SQL 2005 database. I'm trying to restore a point in time. I get the error:

RESTORE FAILED...AMT12-2-13.TRN... CANNOT FIND THE FILE SPECIFIED.

The file exists, and in the proper location. something is wrong with it. Is there any way to rebuild the entire TRN so that a point in time recovery will work?

View 2 Replies View Related

Point In Time Restore

Nov 7, 2007

I have a SQLServer 2005 database running in Windows 2003 Advanced Server environment. I want to restore from the backup to 2 days back point in time. I am using the Microsoft SQLServer Managment Studio. After I pick the file and specify the time I keep getting the error:


System.Data.SqlClient.SqlError: RESTORE cannot process database 'DBNAME' because it is in use by this session. It is recommended that the master database be used when performing this operation. (Microsoft.SqlServer.Smo)

I did a server reboot to clear off any hanging session.Stil I am getting the message. Please suggest.

Thanks

R

View 7 Replies View Related

HELP: Point In Time Restore : HOW ?

Jul 20, 2005

I have full backup of database at 13:00and another full backup at 17:00.I've made backup of transaction log at 17:05When I try to restore database to state at15:10 (point in time) , the dialogue in Enterprise Managersays that only time after 17:05 is valid.It seems to me that I've done something wrong at 17:05 while takingtrans. log backup.But, again, if I have full backups at 13:00 and 17:00 restoringdatabase to point in time at 15:10 should be possible ?!Any help is appreciated.Pagus

View 5 Replies View Related

Point In Time Restore

Nov 7, 2007

I have a SQLServer 2005 database. I want to restore from the backup to 2 days back point in time. I am using the Microsoft SQLServer Managment Studio. After I pick the file and specify the time I keep getting the error:


[System.Data.SqlClient.SqlError: RESTORE cannot process database 'DBNAME' because it is in use by this session. It is recommended that the master database be used when performing this operation. (Microsoft.SqlServer.Smo)

I did a server reboot to clear off any hanging session.Stil I am getting the message. Please suggest.

Thanks

View 4 Replies View Related

Log Backup In Point-in-time Recovery

Aug 10, 2000

Hi Everybody:

We plan to do point-in-time recovery for certain databases. We plan to do Complete Database Backup every night and transaction log backup every two hours from 8:00 AM to 5:00 PM. I have following questions regarding the log backup.

1. There are two type of backup 'Append to media' or 'Overwrite'. If I choose 'Append' for log backup, is that mean I only need to restore database against last log backup file because all previous log backups have been accumulated there?

2. Can I automatically truncate log after the backup is done? How I can do it?

Thank you very much.

Joan

View 1 Replies View Related

Point In Time Restore (Urgent Please)

Mar 2, 2002

Hello,

I have lost a table's contents and need to restore them urgently. I backed up the database. I selected the backup set in order to restore it, but the "Point in time restore " was disabled and I couldn't select it to set the time to which to restore.Could anyone tell me the reason behing that?
Another interesting thing is that when I backup a database, I only have two options for backing it up,
1. database complete
2. database differential

Thanks a lot,
Joe

View 2 Replies View Related

Problems Restoring Log Point In Time

Jul 22, 2004

Help.........

I'm fairly new to sql server, and trying to restore to a point in time from my log file in sql server 2000 SP3.

I am getting the error "Invalid Value Specified for Stopat parameter".

I am applying this with Enterprise manager, not via T-SQL.

My login is set to english.

Can anyone help?

Many thanks

Neil

View 1 Replies View Related

Point-In-Time Restoration Issue

May 27, 2004

Hello,

I'm testing "Point In Time" restoration for my system using both Database & Log backup files. (Database backup once a day; Log backup every 4 hours)

When I use T-SQL to perfrom the restoration, I can specify one .BAK file with numerous .TRN files and restore to any 'point of time' with no issue.

However, if I use EM to perform the same restoration, I can only specify one .BAK file with a maximum of two .TRN files (although I can see all the .TRN files) in order to restore the database properly. If I specify more .TRN files, after restoration, my DB will be in 'LOADING' status and can't be used.

Does anyone encounter the same problem before and know what is going on?

Thank You.

View 3 Replies View Related

Point In Time, UNDO/Restore

Nov 28, 2007

I have full Recovery mode.

I just accidently deleted a handful of records out of a table about 10 minutes ago. My last backup was last night.

Can I go back 10 minutes ago for a specific table? If so how... DO I need to backup now, then use the trans-logs to recover up to a specific point?

Thanks!!

View 15 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved