Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Restore someone elses backup to your database
Message
De
28/04/2003 15:56:47
 
 
À
28/04/2003 11:01:35
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Copies de sauvegarde
Divers
Thread ID:
00782247
Message ID:
00782441
Vues:
10
Hi Jim,

I'm assuming you don't need to apply any log files in this instance so it should look something like this and hopefully points you in the right direction. Take a look at books on line.
RESTORE DATABASE dbname FROM DISK = 'c:\path\backup.bak'
	WITH RECOVERY,
	MOVE 'dbname_data' TO 'c:\program files\microsoft sql server\mssql\data\dbname_data.mdf',
	MOVE 'dbname_log' TO 'c:\program files\microsoft sql server\mssql\data\dbname_log.mdf'
John

>Hello Group,
>
>A customer backed up their SQL 2000 database
>and gave me a copy to restore to my SQL 2000
>database. How do I go about restoring their database
>to mine?
>
>
>Thanks
>Jim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform