|
|
|
|
||||||
| ms.sqlserver.setup Questions about SQL Server. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi there,
I have a question about backup restore. I have setup a database with 5 MDF file located in different drive. testdb_data1.MDF testdb_data2.MDF (in USB drive) testdb_data3.MDF testdb_data4.MDF testdb_data5.MDF If the MDF file in USB drive fail (say I unplug it and replace with a new USB drive), is that possible to restore this MDF file only in order to recover the whole database? I have tried to backup all the MDF files but fail to restore in this case. Could anyone give me some hints on this question? Thanks in advance. Kenneth |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
Are you backup up the database files from Windows or using SQL Servers BACKUP command?
-- Tibor Karaszi, SQL Server MVP http://www.karaszi.com/sqlserver/default.asp http://sqlblog.com/blogs/tibor_karaszi "Black" <hoodworld@hotmail.com> wrote in message news:uTvjY90yHHA.484@TK2MSFTNGP06.phx.gbl... > Hi there, > > I have a question about backup restore. I have setup a database with 5 MDF > file located in different drive. > > testdb_data1.MDF > testdb_data2.MDF (in USB drive) > testdb_data3.MDF > testdb_data4.MDF > testdb_data5.MDF > > If the MDF file in USB drive fail (say I unplug it and replace with a new > USB drive), is that possible to restore this MDF file only in order to > recover the whole database? I have tried to backup all the MDF files but > fail to restore in this case. > > Could anyone give me some hints on this question? Thanks in advance. > > Kenneth > > |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
And are they in same file group? On which version of sql?
"Tibor Karaszi" wrote: > Are you backup up the database files from Windows or using SQL Servers BACKUP command? > > -- > Tibor Karaszi, SQL Server MVP > http://www.karaszi.com/sqlserver/default.asp > http://sqlblog.com/blogs/tibor_karaszi > > > "Black" <hoodworld@hotmail.com> wrote in message news:uTvjY90yHHA.484@TK2MSFTNGP06.phx.gbl... > > Hi there, > > > > I have a question about backup restore. I have setup a database with 5 MDF > > file located in different drive. > > > > testdb_data1.MDF > > testdb_data2.MDF (in USB drive) > > testdb_data3.MDF > > testdb_data4.MDF > > testdb_data5.MDF > > > > If the MDF file in USB drive fail (say I unplug it and replace with a new > > USB drive), is that possible to restore this MDF file only in order to > > recover the whole database? I have tried to backup all the MDF files but > > fail to restore in this case. > > > > Could anyone give me some hints on this question? Thanks in advance. > > > > Kenneth > > > > |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
In sql2k, you can restore single file with sql backup/restore. But need to do
log restores to keep data integrity. "Tibor Karaszi" wrote: > Are you backup up the database files from Windows or using SQL Servers BACKUP command? > > -- > Tibor Karaszi, SQL Server MVP > http://www.karaszi.com/sqlserver/default.asp > http://sqlblog.com/blogs/tibor_karaszi > > > "Black" <hoodworld@hotmail.com> wrote in message news:uTvjY90yHHA.484@TK2MSFTNGP06.phx.gbl... > > Hi there, > > > > I have a question about backup restore. I have setup a database with 5 MDF > > file located in different drive. > > > > testdb_data1.MDF > > testdb_data2.MDF (in USB drive) > > testdb_data3.MDF > > testdb_data4.MDF > > testdb_data5.MDF > > > > If the MDF file in USB drive fail (say I unplug it and replace with a new > > USB drive), is that possible to restore this MDF file only in order to > > recover the whole database? I have tried to backup all the MDF files but > > fail to restore in this case. > > > > Could anyone give me some hints on this question? Thanks in advance. > > > > Kenneth > > > > |
|
![]() |
| Outils de la discussion | |
|
|