Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server 2000 > SQL Server 2000
|
SQL Server 2000 General discussion of Microsoft SQL Server -- for topics that don't fit in one of the more specific SQL Server forums. version 2000 only. There's a new forum for SQL Server 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server 2000 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 19th, 2004, 05:50 PM
Friend of Wrox
 
Join Date: Jan 2004
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default Data loss during backup / restore 7.0 to 2000

Hello fellow SQl Server users
Has any body suffured data loss backing up an SQL Server 7.0 data store and restoring into a 2000 instance. I am stressed after loosing a considerable amount of data during this process. Until this event I considered myself failry DBA savy. My actions are as follows: An Enterprize Manager back up producing a 60mb .bak file from a clients production server (7.0 instance). After backing up my local development copy (3mb .bak file running a 2000 instance) I restored the 60mb .bak file using query analyser with the following command:
------------------------------------
RESTORE DATABASE mhqohs
FROM DISK = 'C:\Inetpub\wwwroot\MHQnew\ohs\data\mhqohs.bak' WITH
     move 'mhqohs_Data' TO 'C:\Program Files\Microsoft SQL Server\MSSQL\Data\mhqohs_Data.mdf',
     move 'mhqohs_log' TO 'C:\Program Files\Microsoft SQL Server\MSSQL\Data\mhqohs_log.ldf'
-------------------------------------
The results of this back up was a data store containing less data than before the restore, ah ah ah how could this happen??
The log files in MSSQL/DATA did did not grow in size, they remained 1.8ish mb. Also, my original dev datastore has additional tables to the live datastore. This, and query analyser confirming a successfull restore tells me a restore took place - amy ideas on where the data went???

Thank you in advance


Wind id your friend
Matt
__________________
Wind is your friend
Matt





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to restore a local backup? mugwomp SQL Server 2005 2 September 6th, 2007 02:31 PM
Need Help - BackUp and Restore sivap SQL Server 2005 5 July 13th, 2007 08:51 PM
Backup restore error Prabhakar_dt Classic ASP Basics 1 July 21st, 2005 07:20 PM
Backup and Restore acko SQL Server 2000 0 July 1st, 2004 03:18 AM
How to backup and restore Database phubinh Pro VB Databases 1 June 4th, 2004 03:10 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.