Showing posts with label restoring. Show all posts
Showing posts with label restoring. Show all posts

Friday, March 30, 2012

Recovery of database on a mount point

When restoring a database where the data file(s) are located under a mount point, seems to be a problem with reporting free space available.

DB Size - Say 30GB (25 Data, 5 Log)

E:\ Drive 20GB with 15GB Free

Restoring database file to

E:\SQLMountPoint\

- This points to separate disk with more than enough free space

SQL prevents the restore by stating there is not enough free space.

A long work around is

assign a drive letter to the large disk

Restore database using temp drive letter - F:\SQLDATA\MyDB_Data.mdf

Update sysfiles - changing drive & path - E:\SQLMountPoint\SQLDATA\MyDB_Data.mdf

Stop & restart database...

Is there a better way?

Wishlist - Restore only warns about free space - but allows continue...

Regards

Which OS version and SQL Server version are you using?

WesleyB

Visit my SQL Server weblog @. http://dis4ea.blogspot.com

|||

Thanks for the reply.

OS: Windows2003 x64 Datacenter R2

SQL: Now running 9.00.3175 - seems to have resolved the problem?

- unable to find mention in fixlists

More testing required just to be sure.

LateNightDBA...

|||

You will typically not find every fix in the published fix list.

I'm glad it works now.

WesleyB

Visit my SQL Server weblog @. http://dis4ea.blogspot.com

Monday, March 26, 2012

Recovery from bak file w/ full text problem

I am having a problem restoring to a new or different database than the backup file being restored was created from. I understand the Move commands, and have figured out how to get this to work by mapping the data and log files from the backup file to the files defined for the restore target database.

The problem is with the full text catalog that is part of the backup.

Here's the T-SQL I'm executing, and the error I receive:

T-SQL:
RESTORE DATABASE New_DB
FROM DISK = 'C:\backup\Old_DB.bak'
WITH RECOVERY, REPLACE,
MOVE 'Old_DB' TO 'C:\SQLData\New_DB.mdf',
MOVE 'Old_DB_log' TO 'C:\SQLData\New_DB_log.ldf'

Error:
Msg 1834, Level 16, State 1, Line 1
The file 'C:\SQLData\FTData\ftKeyWords0007' cannot be overwritten. It is being used by database 'Old_DB'.
Msg 3156, Level 16, State 4, Line 1
File 'sysft_ftKeyWords' cannot be restored to 'C:\SQLData\FTData\ftKeyWords0007'. Use WITH MOVE to identify a valid location for the file.
Msg 3119, Level 16, State 1, Line 1
Problems were identified while planning for the RESTORE statement. Previous messages provide details.
Msg 3013, Level 16, State 1, Line 1
RESTORE DATABASE is terminating abnormally.

Not sure what to do about this, any help would be greatly appreciated!
Before, disabled FullText indexes for a old_db and repeat your command.|||You mean turn off the full text index before running the backup?

Yes, that would work, but that may not be feasible. I'd hate to have a job running that backs up a db hourly, and has to regenerate ft indexes every single time for obvious reasons.

This problem makes restoring backups that include full text indexes to a new restore point extremely frustrating, and it really shouldn't be.
sql

Recovering Sql server

I'm restoring the full sql server, what do I have to do
first restore all databases or restore master database?
Thanks in advance,
LuzTypically it would be:
Master - to get config details back
MSDB - to get backuphistory The rest - using the backuphistory from msdb
But it does depend a little on the exact situation that leads you to =restore it all!!
Good luck
Mike John
"luz" <luz_mariac@.hotmail.com> wrote in message =news:064501c344cd$88bba850$a101280a@.phx.gbl...
> I'm restoring the full sql server, what do I have to do > first restore all databases or restore master database?
> > Thanks in advance,
> Luz

Friday, March 23, 2012

recovering deleted table

Hi all
Is there a way to reconstruct a table which was deleted without restoring
the whole data base?
Database recovery model is simple. Sqlserver version is 2000 sp3.
TIA
ReaYou can restore the database from the backup to a different location with a
new name, and then copy the table with DTS from the restored database to
your production database.
--
Jacco Schalkwijk
SQL Server MVP
"Rea Peleg" <rea_p@.afek.co.il> wrote in message
news:eys9$rjQEHA.2132@.TK2MSFTNGP11.phx.gbl...
> Hi all
> Is there a way to reconstruct a table which was deleted without restoring
> the whole data base?
> Database recovery model is simple. Sqlserver version is 2000 sp3.
> TIA
> Rea
>|||The restore you do could also be a partial restore if you have the database
in multiple files ( See Restore in BOL).
--
Wayne Snyder, MCDBA, SQL Server MVP
Mariner, Charlotte, NC
www.mariner-usa.com
(Please respond only to the newsgroups.)
I support the Professional Association of SQL Server (PASS) and it's
community of SQL Server professionals.
www.sqlpass.org
"Jacco Schalkwijk" <NOSPAMjaccos@.eurostop.co.uk> wrote in message
news:OIJuPzjQEHA.1388@.TK2MSFTNGP09.phx.gbl...
> You can restore the database from the backup to a different location with
a
> new name, and then copy the table with DTS from the restored database to
> your production database.
> --
> Jacco Schalkwijk
> SQL Server MVP
>
> "Rea Peleg" <rea_p@.afek.co.il> wrote in message
> news:eys9$rjQEHA.2132@.TK2MSFTNGP11.phx.gbl...
> > Hi all
> > Is there a way to reconstruct a table which was deleted without
restoring
> > the whole data base?
> > Database recovery model is simple. Sqlserver version is 2000 sp3.
> > TIA
> > Rea
> >
> >
>

Wednesday, March 21, 2012

Recovering (local) server and Restoring a Dabase from a clients backup

Hi all,
I'm running sql server 2000.
I've a client who has given me a large database to develope against.
I don't have a (local) server anymore. Can't remember why.
Whats the easiest way to recover (local) - I'm happy to reinstall and start
from a fresh (local).
Also, it looks as though the client has backed up their db.
Am I able to restore to my (local) from their backup?
Thanks,
baz
Yes you can restore it. You don't need to restore it locally unless you
want to. I would just place the backup some place where your development
server can see it, and then use EM to restore from the database backup.
Make sure you type in the name of the database you want to create from the
restore, so you don't overlay some other database.
----
Need SQL Server Examples check out my website at
http://www.geocities.com/sqlserverexamples
"Barry G. Sumpter" <barrysum@.bigpond.net.au> wrote in message
news:ev7qjfVXEHA.2964@.TK2MSFTNGP09.phx.gbl...
> Hi all,
> I'm running sql server 2000.
> I've a client who has given me a large database to develope against.
> I don't have a (local) server anymore. Can't remember why.
> Whats the easiest way to recover (local) - I'm happy to reinstall and
start
> from a fresh (local).
> Also, it looks as though the client has backed up their db.
> Am I able to restore to my (local) from their backup?
> Thanks,
> baz
>
>
|||Yes you can restore it. You don't need to restore it locally unless you
want to. I would just place the backup some place where your development
server can see it, and then use EM to restore from the database backup.
Make sure you type in the name of the database you want to create from the
restore, so you don't overlay some other database.
----
Need SQL Server Examples check out my website at
http://www.geocities.com/sqlserverexamples
"Barry G. Sumpter" <barrysum@.bigpond.net.au> wrote in message
news:ev7qjfVXEHA.2964@.TK2MSFTNGP09.phx.gbl...
> Hi all,
> I'm running sql server 2000.
> I've a client who has given me a large database to develope against.
> I don't have a (local) server anymore. Can't remember why.
> Whats the easiest way to recover (local) - I'm happy to reinstall and
start
> from a fresh (local).
> Also, it looks as though the client has backed up their db.
> Am I able to restore to my (local) from their backup?
> Thanks,
> baz
>
>
|||Hi Greg,
Thanks for the quick reply.
Thats great news.
I'm trying to imulate the client setup as closely as possible.
I'm modifying legacy VB 6 with ODBC connections thru a DSN (yuck!)
And running legacy Crystal Reports 8.5 thru the same DSN (yucker!)
So, I do want a (local) server.
Anyone have any ideas on how to reinstall or recover the (local) server?
I reinstalled sql server last week but the (local) didn't re-appear.
And it looks like I have to have a database name already there to be able to
recover to it.
Any suggestions?
"Gregory A. Larsen" <greg.larsen@.netzero.com> wrote in message
news:#AuHurVXEHA.3972@.TK2MSFTNGP12.phx.gbl...
> Yes you can restore it. You don't need to restore it locally unless you
> want to. I would just place the backup some place where your development
> server can see it, and then use EM to restore from the database backup.
> Make sure you type in the name of the database you want to create from the
> restore, so you don't overlay some other database.
> --
> ----
--
> ----
--
> --
> Need SQL Server Examples check out my website at
> http://www.geocities.com/sqlserverexamples
> "Barry G. Sumpter" <barrysum@.bigpond.net.au> wrote in message
> news:ev7qjfVXEHA.2964@.TK2MSFTNGP09.phx.gbl...
> start
>
|||Hi Greg,
Thanks for the quick reply.
Thats great news.
I'm trying to imulate the client setup as closely as possible.
I'm modifying legacy VB 6 with ODBC connections thru a DSN (yuck!)
And running legacy Crystal Reports 8.5 thru the same DSN (yucker!)
So, I do want a (local) server.
Anyone have any ideas on how to reinstall or recover the (local) server?
I reinstalled sql server last week but the (local) didn't re-appear.
And it looks like I have to have a database name already there to be able to
recover to it.
Any suggestions?
"Gregory A. Larsen" <greg.larsen@.netzero.com> wrote in message
news:#AuHurVXEHA.3972@.TK2MSFTNGP12.phx.gbl...
> Yes you can restore it. You don't need to restore it locally unless you
> want to. I would just place the backup some place where your development
> server can see it, and then use EM to restore from the database backup.
> Make sure you type in the name of the database you want to create from the
> restore, so you don't overlay some other database.
> --
> ----
--
> ----
--
> --
> Need SQL Server Examples check out my website at
> http://www.geocities.com/sqlserverexamples
> "Barry G. Sumpter" <barrysum@.bigpond.net.au> wrote in message
> news:ev7qjfVXEHA.2964@.TK2MSFTNGP09.phx.gbl...
> start
>
|||Attempting to sort out the Database name.
Just added a new database with the same name as the clients.
And used the All Task | Restore Database.
3.5 gigs available on the H: drive where I have the backed up database.
H: is where the .mdf resides as well.
3.1 gigs available of the c: drive
The backup itself is 734 megs.
All drives are NTFS
I'm getting this error:
Microsoft SQL-DMO (ODBC SQLState: 42000)
Modify File encountered operating system error 112(There is not enought
space on the disk.) while attempting to expand the physical file.
Could not adjust the space allocation for file 'x-Log'.
Restore Datbase is terminating abnormally.
Thanks,
baz
"Barry G. Sumpter" <barrysum@.bigpond.net.au> wrote in message
news:uvMji9VXEHA.2572@.TK2MSFTNGP11.phx.gbl...
> Hi Greg,
> Thanks for the quick reply.
> Thats great news.
> --
> I'm trying to imulate the client setup as closely as possible.
> I'm modifying legacy VB 6 with ODBC connections thru a DSN (yuck!)
> And running legacy Crystal Reports 8.5 thru the same DSN (yucker!)
> So, I do want a (local) server.
> Anyone have any ideas on how to reinstall or recover the (local) server?
> I reinstalled sql server last week but the (local) didn't re-appear.
>
> And it looks like I have to have a database name already there to be able
to[vbcol=seagreen]
> recover to it.
> Any suggestions?
>
> "Gregory A. Larsen" <greg.larsen@.netzero.com> wrote in message
> news:#AuHurVXEHA.3972@.TK2MSFTNGP12.phx.gbl...
development[vbcol=seagreen]
the
> ----
> --
> ----
> --
>
|||Attempting to sort out the Database name.
Just added a new database with the same name as the clients.
And used the All Task | Restore Database.
3.5 gigs available on the H: drive where I have the backed up database.
H: is where the .mdf resides as well.
3.1 gigs available of the c: drive
The backup itself is 734 megs.
All drives are NTFS
I'm getting this error:
Microsoft SQL-DMO (ODBC SQLState: 42000)
Modify File encountered operating system error 112(There is not enought
space on the disk.) while attempting to expand the physical file.
Could not adjust the space allocation for file 'x-Log'.
Restore Datbase is terminating abnormally.
Thanks,
baz
"Barry G. Sumpter" <barrysum@.bigpond.net.au> wrote in message
news:uvMji9VXEHA.2572@.TK2MSFTNGP11.phx.gbl...
> Hi Greg,
> Thanks for the quick reply.
> Thats great news.
> --
> I'm trying to imulate the client setup as closely as possible.
> I'm modifying legacy VB 6 with ODBC connections thru a DSN (yuck!)
> And running legacy Crystal Reports 8.5 thru the same DSN (yucker!)
> So, I do want a (local) server.
> Anyone have any ideas on how to reinstall or recover the (local) server?
> I reinstalled sql server last week but the (local) didn't re-appear.
>
> And it looks like I have to have a database name already there to be able
to[vbcol=seagreen]
> recover to it.
> Any suggestions?
>
> "Gregory A. Larsen" <greg.larsen@.netzero.com> wrote in message
> news:#AuHurVXEHA.3972@.TK2MSFTNGP12.phx.gbl...
development[vbcol=seagreen]
the
> ----
> --
> ----
> --
>
|||Make sure you are restoring the data and log files to a valid drive on your
local server. When your customer made the backup, the paths where the data
files resided on the customer's server are also recorded. When you now
restore the backup, SQL Server will by default try to restore the files to
the same location. You may need to change these paths. Since you are using
Enterprise Manager, look in the Options tab in the Restore database dialog.
If using Query Analyzer, look up the RESTORE FILELISTONLY .. and RESTORE
DATABASE ... WITH MOVE ... syntax.
Peter Yeoh
http://www.yohz.com
Need smaller SQL2K backup files? Try MiniSQLBackup
"Barry G. Sumpter" <barrysum@.bigpond.net.au> wrote in message
news:%23mPKjQWXEHA.736@.TK2MSFTNGP10.phx.gbl...[vbcol=seagreen]
> Attempting to sort out the Database name.
> Just added a new database with the same name as the clients.
> And used the All Task | Restore Database.
> 3.5 gigs available on the H: drive where I have the backed up database.
> H: is where the .mdf resides as well.
> 3.1 gigs available of the c: drive
> The backup itself is 734 megs.
> All drives are NTFS
> I'm getting this error:
> Microsoft SQL-DMO (ODBC SQLState: 42000)
> Modify File encountered operating system error 112(There is not enought
> space on the disk.) while attempting to expand the physical file.
> Could not adjust the space allocation for file 'x-Log'.
> Restore Datbase is terminating abnormally.
> Thanks,
> baz
> "Barry G. Sumpter" <barrysum@.bigpond.net.au> wrote in message
> news:uvMji9VXEHA.2572@.TK2MSFTNGP11.phx.gbl...
able[vbcol=seagreen]
> to
you[vbcol=seagreen]
> development
backup.[vbcol=seagreen]
> the
> ----
> ----
and
>
|||Make sure you are restoring the data and log files to a valid drive on your
local server. When your customer made the backup, the paths where the data
files resided on the customer's server are also recorded. When you now
restore the backup, SQL Server will by default try to restore the files to
the same location. You may need to change these paths. Since you are using
Enterprise Manager, look in the Options tab in the Restore database dialog.
If using Query Analyzer, look up the RESTORE FILELISTONLY .. and RESTORE
DATABASE ... WITH MOVE ... syntax.
Peter Yeoh
http://www.yohz.com
Need smaller SQL2K backup files? Try MiniSQLBackup
"Barry G. Sumpter" <barrysum@.bigpond.net.au> wrote in message
news:%23mPKjQWXEHA.736@.TK2MSFTNGP10.phx.gbl...[vbcol=seagreen]
> Attempting to sort out the Database name.
> Just added a new database with the same name as the clients.
> And used the All Task | Restore Database.
> 3.5 gigs available on the H: drive where I have the backed up database.
> H: is where the .mdf resides as well.
> 3.1 gigs available of the c: drive
> The backup itself is 734 megs.
> All drives are NTFS
> I'm getting this error:
> Microsoft SQL-DMO (ODBC SQLState: 42000)
> Modify File encountered operating system error 112(There is not enought
> space on the disk.) while attempting to expand the physical file.
> Could not adjust the space allocation for file 'x-Log'.
> Restore Datbase is terminating abnormally.
> Thanks,
> baz
> "Barry G. Sumpter" <barrysum@.bigpond.net.au> wrote in message
> news:uvMji9VXEHA.2572@.TK2MSFTNGP11.phx.gbl...
able[vbcol=seagreen]
> to
you[vbcol=seagreen]
> development
backup.[vbcol=seagreen]
> the
> ----
> ----
and
>
|||Hi Peter,
Thanks for the reply.
You have to have a database already setup on your server to restore to.
So my database was only 1 k .
Ten after the failed attempt it is was 750megs.
Had another look thru google.
Looks like some others were having the same prob.
Theirs turned out to be a severely defragmented hard drive.
I've had a look thru mine with DiskKeeper.
Mine is also severely defragmented as well.
I've been defraggin all day but I can't get DiskKeeper to continue defraggin
on its own
I have to keep starting it and it only defrage 50 frags at a time? Who
knows ...
I'll update a followup when I have some news...

Recovering (local) server and Restoring a Dabase from a clients backup

Hi all,
I'm running sql server 2000.
I've a client who has given me a large database to develope against.
I don't have a (local) server anymore. Can't remember why.
Whats the easiest way to recover (local) - I'm happy to reinstall and start
from a fresh (local).
Also, it looks as though the client has backed up their db.
Am I able to restore to my (local) from their backup?
Thanks,
bazYes you can restore it. You don't need to restore it locally unless you
want to. I would just place the backup some place where your development
server can see it, and then use EM to restore from the database backup.
Make sure you type in the name of the database you want to create from the
restore, so you don't overlay some other database.
--
----
----
--
Need SQL Server Examples check out my website at
http://www.geocities.com/sqlserverexamples
"Barry G. Sumpter" <barrysum@.bigpond.net.au> wrote in message
news:ev7qjfVXEHA.2964@.TK2MSFTNGP09.phx.gbl...
> Hi all,
> I'm running sql server 2000.
> I've a client who has given me a large database to develope against.
> I don't have a (local) server anymore. Can't remember why.
> Whats the easiest way to recover (local) - I'm happy to reinstall and
start
> from a fresh (local).
> Also, it looks as though the client has backed up their db.
> Am I able to restore to my (local) from their backup?
> Thanks,
> baz
>
>|||Hi Greg,
Thanks for the quick reply.
Thats great news.
--
I'm trying to imulate the client setup as closely as possible.
I'm modifying legacy VB 6 with ODBC connections thru a DSN (yuck!)
And running legacy Crystal Reports 8.5 thru the same DSN (yucker!)
So, I do want a (local) server.
Anyone have any ideas on how to reinstall or recover the (local) server?
I reinstalled sql server last week but the (local) didn't re-appear.
And it looks like I have to have a database name already there to be able to
recover to it.
Any suggestions?
"Gregory A. Larsen" <greg.larsen@.netzero.com> wrote in message
news:#AuHurVXEHA.3972@.TK2MSFTNGP12.phx.gbl...
> Yes you can restore it. You don't need to restore it locally unless you
> want to. I would just place the backup some place where your development
> server can see it, and then use EM to restore from the database backup.
> Make sure you type in the name of the database you want to create from the
> restore, so you don't overlay some other database.
> --
> ----
--
> ----
--
> --
> Need SQL Server Examples check out my website at
> http://www.geocities.com/sqlserverexamples
> "Barry G. Sumpter" <barrysum@.bigpond.net.au> wrote in message
> news:ev7qjfVXEHA.2964@.TK2MSFTNGP09.phx.gbl...
> > Hi all,
> >
> > I'm running sql server 2000.
> >
> > I've a client who has given me a large database to develope against.
> >
> > I don't have a (local) server anymore. Can't remember why.
> >
> > Whats the easiest way to recover (local) - I'm happy to reinstall and
> start
> > from a fresh (local).
> >
> > Also, it looks as though the client has backed up their db.
> > Am I able to restore to my (local) from their backup?
> >
> > Thanks,
> > baz
> >
> >
> >
> >
>|||Attempting to sort out the Database name.
Just added a new database with the same name as the clients.
And used the All Task | Restore Database.
3.5 gigs available on the H: drive where I have the backed up database.
H: is where the .mdf resides as well.
3.1 gigs available of the c: drive
The backup itself is 734 megs.
All drives are NTFS
I'm getting this error:
Microsoft SQL-DMO (ODBC SQLState: 42000)
Modify File encountered operating system error 112(There is not enought
space on the disk.) while attempting to expand the physical file.
Could not adjust the space allocation for file 'x-Log'.
Restore Datbase is terminating abnormally.
Thanks,
baz
"Barry G. Sumpter" <barrysum@.bigpond.net.au> wrote in message
news:uvMji9VXEHA.2572@.TK2MSFTNGP11.phx.gbl...
> Hi Greg,
> Thanks for the quick reply.
> Thats great news.
> --
> I'm trying to imulate the client setup as closely as possible.
> I'm modifying legacy VB 6 with ODBC connections thru a DSN (yuck!)
> And running legacy Crystal Reports 8.5 thru the same DSN (yucker!)
> So, I do want a (local) server.
> Anyone have any ideas on how to reinstall or recover the (local) server?
> I reinstalled sql server last week but the (local) didn't re-appear.
>
> And it looks like I have to have a database name already there to be able
to
> recover to it.
> Any suggestions?
>
> "Gregory A. Larsen" <greg.larsen@.netzero.com> wrote in message
> news:#AuHurVXEHA.3972@.TK2MSFTNGP12.phx.gbl...
> > Yes you can restore it. You don't need to restore it locally unless you
> > want to. I would just place the backup some place where your
development
> > server can see it, and then use EM to restore from the database backup.
> > Make sure you type in the name of the database you want to create from
the
> > restore, so you don't overlay some other database.
> > --
> >
> ----
> --
> ----
> --
> > --
> >
> > Need SQL Server Examples check out my website at
> > http://www.geocities.com/sqlserverexamples
> > "Barry G. Sumpter" <barrysum@.bigpond.net.au> wrote in message
> > news:ev7qjfVXEHA.2964@.TK2MSFTNGP09.phx.gbl...
> > > Hi all,
> > >
> > > I'm running sql server 2000.
> > >
> > > I've a client who has given me a large database to develope against.
> > >
> > > I don't have a (local) server anymore. Can't remember why.
> > >
> > > Whats the easiest way to recover (local) - I'm happy to reinstall and
> > start
> > > from a fresh (local).
> > >
> > > Also, it looks as though the client has backed up their db.
> > > Am I able to restore to my (local) from their backup?
> > >
> > > Thanks,
> > > baz
> > >
> > >
> > >
> > >
> >
> >
>|||Make sure you are restoring the data and log files to a valid drive on your
local server. When your customer made the backup, the paths where the data
files resided on the customer's server are also recorded. When you now
restore the backup, SQL Server will by default try to restore the files to
the same location. You may need to change these paths. Since you are using
Enterprise Manager, look in the Options tab in the Restore database dialog.
If using Query Analyzer, look up the RESTORE FILELISTONLY .. and RESTORE
DATABASE ... WITH MOVE ... syntax.
Peter Yeoh
http://www.yohz.com
Need smaller SQL2K backup files? Try MiniSQLBackup
"Barry G. Sumpter" <barrysum@.bigpond.net.au> wrote in message
news:%23mPKjQWXEHA.736@.TK2MSFTNGP10.phx.gbl...
> Attempting to sort out the Database name.
> Just added a new database with the same name as the clients.
> And used the All Task | Restore Database.
> 3.5 gigs available on the H: drive where I have the backed up database.
> H: is where the .mdf resides as well.
> 3.1 gigs available of the c: drive
> The backup itself is 734 megs.
> All drives are NTFS
> I'm getting this error:
> Microsoft SQL-DMO (ODBC SQLState: 42000)
> Modify File encountered operating system error 112(There is not enought
> space on the disk.) while attempting to expand the physical file.
> Could not adjust the space allocation for file 'x-Log'.
> Restore Datbase is terminating abnormally.
> Thanks,
> baz
> "Barry G. Sumpter" <barrysum@.bigpond.net.au> wrote in message
> news:uvMji9VXEHA.2572@.TK2MSFTNGP11.phx.gbl...
> > Hi Greg,
> >
> > Thanks for the quick reply.
> >
> > Thats great news.
> >
> > --
> > I'm trying to imulate the client setup as closely as possible.
> > I'm modifying legacy VB 6 with ODBC connections thru a DSN (yuck!)
> > And running legacy Crystal Reports 8.5 thru the same DSN (yucker!)
> >
> > So, I do want a (local) server.
> >
> > Anyone have any ideas on how to reinstall or recover the (local) server?
> > I reinstalled sql server last week but the (local) didn't re-appear.
> >
> >
> > And it looks like I have to have a database name already there to be
able
> to
> > recover to it.
> >
> > Any suggestions?
> >
> >
> > "Gregory A. Larsen" <greg.larsen@.netzero.com> wrote in message
> > news:#AuHurVXEHA.3972@.TK2MSFTNGP12.phx.gbl...
> > > Yes you can restore it. You don't need to restore it locally unless
you
> > > want to. I would just place the backup some place where your
> development
> > > server can see it, and then use EM to restore from the database
backup.
> > > Make sure you type in the name of the database you want to create from
> the
> > > restore, so you don't overlay some other database.
> > > --
> > >
> >
> ----
> > --
> >
> ----
> > --
> > > --
> > >
> > > Need SQL Server Examples check out my website at
> > > http://www.geocities.com/sqlserverexamples
> > > "Barry G. Sumpter" <barrysum@.bigpond.net.au> wrote in message
> > > news:ev7qjfVXEHA.2964@.TK2MSFTNGP09.phx.gbl...
> > > > Hi all,
> > > >
> > > > I'm running sql server 2000.
> > > >
> > > > I've a client who has given me a large database to develope against.
> > > >
> > > > I don't have a (local) server anymore. Can't remember why.
> > > >
> > > > Whats the easiest way to recover (local) - I'm happy to reinstall
and
> > > start
> > > > from a fresh (local).
> > > >
> > > > Also, it looks as though the client has backed up their db.
> > > > Am I able to restore to my (local) from their backup?
> > > >
> > > > Thanks,
> > > > baz
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
> >
>|||Hi Peter,
Thanks for the reply.
You have to have a database already setup on your server to restore to.
So my database was only 1 k .
Ten after the failed attempt it is was 750megs.
--
Had another look thru google.
Looks like some others were having the same prob.
Theirs turned out to be a severely defragmented hard drive.
I've had a look thru mine with DiskKeeper.
Mine is also severely defragmented as well.
I've been defraggin all day but I can't get DiskKeeper to continue defraggin
on its own
I have to keep starting it and it only defrage 50 frags at a time? Who
knows ...
I'll update a followup when I have some news...|||Ok I've done it.
DiskKeeper wouldn't defrag enought to make a difference so I had to move my
focus to C: drive.
Still no luck.
I found an older version of w2k on c: drive and removed it.
Defraged with heaps better oucome with diskkeeper.
C: drive then had 4.5 gig free space
Moved backup to C: drive (750 meg)
and created new table on C: drive 1 k - (3.7 gig free on c: drive)
Restored successfully.
now have 3 gig free space
Could have been just the free space restrictions.
Difference between 3.1 failure and 4.5 success.
Anyone know the formula?
Perhaps 3gig / .75 gig failure = 4 times
and 4.5 gig / .75 gig success = 6 times
Thanks,
baz
"Barry G. Sumpter" <barrysum@.bigpond.net.au> wrote in message
news:#V7#YyXXEHA.712@.TK2MSFTNGP11.phx.gbl...
> Hi Peter,
> Thanks for the reply.
> You have to have a database already setup on your server to restore
to.
> So my database was only 1 k .
> Ten after the failed attempt it is was 750megs.
> --
>
> Had another look thru google.
> Looks like some others were having the same prob.
> Theirs turned out to be a severely defragmented hard drive.
> I've had a look thru mine with DiskKeeper.
> Mine is also severely defragmented as well.
> I've been defraggin all day but I can't get DiskKeeper to continue
defraggin
> on its own
> I have to keep starting it and it only defrage 50 frags at a time? Who
> knows ...
> I'll update a followup when I have some news...
>|||Don't know if there is such a formula, but it's sure something to keep in
mind. Thx for the update.
Peter Yeoh
http://www.yohz.com
Need smaller SQL2K backup files? Try MiniSQLBackup
"Barry G. Sumpter" <barrysum@.bigpond.net.au> wrote in message
news:%23ODumxuXEHA.3944@.tk2msftngp13.phx.gbl...
> Ok I've done it.
> DiskKeeper wouldn't defrag enought to make a difference so I had to move
my
> focus to C: drive.
> Still no luck.
> I found an older version of w2k on c: drive and removed it.
> Defraged with heaps better oucome with diskkeeper.
> C: drive then had 4.5 gig free space
> Moved backup to C: drive (750 meg)
> and created new table on C: drive 1 k - (3.7 gig free on c: drive)
> Restored successfully.
> now have 3 gig free space
> Could have been just the free space restrictions.
> Difference between 3.1 failure and 4.5 success.
> Anyone know the formula?
> Perhaps 3gig / .75 gig failure = 4 times
> and 4.5 gig / .75 gig success = 6 times
> Thanks,
> baz
>
> "Barry G. Sumpter" <barrysum@.bigpond.net.au> wrote in message
> news:#V7#YyXXEHA.712@.TK2MSFTNGP11.phx.gbl...
> > Hi Peter,
> > Thanks for the reply.
> >
> > You have to have a database already setup on your server to restore
> to.
> >
> > So my database was only 1 k .
> > Ten after the failed attempt it is was 750megs.
> >
> > --
> >
> >
> > Had another look thru google.
> >
> > Looks like some others were having the same prob.
> >
> > Theirs turned out to be a severely defragmented hard drive.
> >
> > I've had a look thru mine with DiskKeeper.
> >
> > Mine is also severely defragmented as well.
> >
> > I've been defraggin all day but I can't get DiskKeeper to continue
> defraggin
> > on its own
> > I have to keep starting it and it only defrage 50 frags at a time? Who
> > knows ...
> >
> > I'll update a followup when I have some news...
> >
> >
>

Recovering (local) server and Restoring a Dabase from a clients backup

Hi all,
I'm running sql server 2000.
I've a client who has given me a large database to develope against.
I don't have a (local) server anymore. Can't remember why.
Whats the easiest way to recover (local) - I'm happy to reinstall and start
from a fresh (local).
Also, it looks as though the client has backed up their db.
Am I able to restore to my (local) from their backup?
Thanks,
bazYes you can restore it. You don't need to restore it locally unless you
want to. I would just place the backup some place where your development
server can see it, and then use EM to restore from the database backup.
Make sure you type in the name of the database you want to create from the
restore, so you don't overlay some other database.
--
----
----
--
Need SQL Server Examples check out my website at
http://www.geocities.com/sqlserverexamples
"Barry G. Sumpter" <barrysum@.bigpond.net.au> wrote in message
news:ev7qjfVXEHA.2964@.TK2MSFTNGP09.phx.gbl...
> Hi all,
> I'm running sql server 2000.
> I've a client who has given me a large database to develope against.
> I don't have a (local) server anymore. Can't remember why.
> Whats the easiest way to recover (local) - I'm happy to reinstall and
start
> from a fresh (local).
> Also, it looks as though the client has backed up their db.
> Am I able to restore to my (local) from their backup?
> Thanks,
> baz
>
>|||Hi Greg,
Thanks for the quick reply.
Thats great news.
I'm trying to imulate the client setup as closely as possible.
I'm modifying legacy VB 6 with ODBC connections thru a DSN (yuck!)
And running legacy Crystal Reports 8.5 thru the same DSN (yucker!)
So, I do want a (local) server.
Anyone have any ideas on how to reinstall or recover the (local) server?
I reinstalled sql server last week but the (local) didn't re-appear.
And it looks like I have to have a database name already there to be able to
recover to it.
Any suggestions?
"Gregory A. Larsen" <greg.larsen@.netzero.com> wrote in message
news:#AuHurVXEHA.3972@.TK2MSFTNGP12.phx.gbl...
> Yes you can restore it. You don't need to restore it locally unless you
> want to. I would just place the backup some place where your development
> server can see it, and then use EM to restore from the database backup.
> Make sure you type in the name of the database you want to create from the
> restore, so you don't overlay some other database.
> --
> ----
--
> ----
--
> --
> Need SQL Server Examples check out my website at
> http://www.geocities.com/sqlserverexamples
> "Barry G. Sumpter" <barrysum@.bigpond.net.au> wrote in message
> news:ev7qjfVXEHA.2964@.TK2MSFTNGP09.phx.gbl...
> start
>|||Attempting to sort out the Database name.
Just added a new database with the same name as the clients.
And used the All Task | Restore Database.
3.5 gigs available on the H: drive where I have the backed up database.
H: is where the .mdf resides as well.
3.1 gigs available of the c: drive
The backup itself is 734 megs.
All drives are NTFS
I'm getting this error:
Microsoft SQL-DMO (ODBC SQLState: 42000)
Modify File encountered operating system error 112(There is not enought
space on the disk.) while attempting to expand the physical file.
Could not adjust the space allocation for file 'x-Log'.
Restore Datbase is terminating abnormally.
Thanks,
baz
"Barry G. Sumpter" <barrysum@.bigpond.net.au> wrote in message
news:uvMji9VXEHA.2572@.TK2MSFTNGP11.phx.gbl...
> Hi Greg,
> Thanks for the quick reply.
> Thats great news.
> --
> I'm trying to imulate the client setup as closely as possible.
> I'm modifying legacy VB 6 with ODBC connections thru a DSN (yuck!)
> And running legacy Crystal Reports 8.5 thru the same DSN (yucker!)
> So, I do want a (local) server.
> Anyone have any ideas on how to reinstall or recover the (local) server?
> I reinstalled sql server last week but the (local) didn't re-appear.
>
> And it looks like I have to have a database name already there to be able
to
> recover to it.
> Any suggestions?
>
> "Gregory A. Larsen" <greg.larsen@.netzero.com> wrote in message
> news:#AuHurVXEHA.3972@.TK2MSFTNGP12.phx.gbl...
development[vbcol=seagreen]
the[vbcol=seagreen]
> ----
> --
> ----
> --
>|||Make sure you are restoring the data and log files to a valid drive on your
local server. When your customer made the backup, the paths where the data
files resided on the customer's server are also recorded. When you now
restore the backup, SQL Server will by default try to restore the files to
the same location. You may need to change these paths. Since you are using
Enterprise Manager, look in the Options tab in the Restore database dialog.
If using Query Analyzer, look up the RESTORE FILELISTONLY .. and RESTORE
DATABASE ... WITH MOVE ... syntax.
Peter Yeoh
http://www.yohz.com
Need smaller SQL2K backup files? Try MiniSQLBackup
"Barry G. Sumpter" <barrysum@.bigpond.net.au> wrote in message
news:%23mPKjQWXEHA.736@.TK2MSFTNGP10.phx.gbl...
> Attempting to sort out the Database name.
> Just added a new database with the same name as the clients.
> And used the All Task | Restore Database.
> 3.5 gigs available on the H: drive where I have the backed up database.
> H: is where the .mdf resides as well.
> 3.1 gigs available of the c: drive
> The backup itself is 734 megs.
> All drives are NTFS
> I'm getting this error:
> Microsoft SQL-DMO (ODBC SQLState: 42000)
> Modify File encountered operating system error 112(There is not enought
> space on the disk.) while attempting to expand the physical file.
> Could not adjust the space allocation for file 'x-Log'.
> Restore Datbase is terminating abnormally.
> Thanks,
> baz
> "Barry G. Sumpter" <barrysum@.bigpond.net.au> wrote in message
> news:uvMji9VXEHA.2572@.TK2MSFTNGP11.phx.gbl...
able[vbcol=seagreen]
> to
you[vbcol=seagreen]
> development
backup.[vbcol=seagreen]
> the
> ----
> ----
and[vbcol=seagreen]
>|||Hi Peter,
Thanks for the reply.
You have to have a database already setup on your server to restore to.
So my database was only 1 k .
Ten after the failed attempt it is was 750megs.
Had another look thru google.
Looks like some others were having the same prob.
Theirs turned out to be a severely defragmented hard drive.
I've had a look thru mine with DiskKeeper.
Mine is also severely defragmented as well.
I've been defraggin all day but I can't get DiskKeeper to continue defraggin
on its own
I have to keep starting it and it only defrage 50 frags at a time? Who
knows ...
I'll update a followup when I have some news...|||Ok I've done it.
DiskKeeper wouldn't defrag enought to make a difference so I had to move my
focus to C: drive.
Still no luck.
I found an older version of w2k on c: drive and removed it.
Defraged with heaps better oucome with diskkeeper.
C: drive then had 4.5 gig free space
Moved backup to C: drive (750 meg)
and created new table on C: drive 1 k - (3.7 gig free on c: drive)
Restored successfully.
now have 3 gig free space
Could have been just the free space restrictions.
Difference between 3.1 failure and 4.5 success.
Anyone know the formula?
Perhaps 3gig / .75 gig failure = 4 times
and 4.5 gig / .75 gig success = 6 times
Thanks,
baz
"Barry G. Sumpter" <barrysum@.bigpond.net.au> wrote in message
news:#V7#YyXXEHA.712@.TK2MSFTNGP11.phx.gbl...
> Hi Peter,
> Thanks for the reply.
> You have to have a database already setup on your server to restore
to.
> So my database was only 1 k .
> Ten after the failed attempt it is was 750megs.
> --
>
> Had another look thru google.
> Looks like some others were having the same prob.
> Theirs turned out to be a severely defragmented hard drive.
> I've had a look thru mine with DiskKeeper.
> Mine is also severely defragmented as well.
> I've been defraggin all day but I can't get DiskKeeper to continue
defraggin
> on its own
> I have to keep starting it and it only defrage 50 frags at a time? Who
> knows ...
> I'll update a followup when I have some news...
>|||Don't know if there is such a formula, but it's sure something to keep in
mind. Thx for the update.
Peter Yeoh
http://www.yohz.com
Need smaller SQL2K backup files? Try MiniSQLBackup
"Barry G. Sumpter" <barrysum@.bigpond.net.au> wrote in message
news:%23ODumxuXEHA.3944@.tk2msftngp13.phx.gbl...
> Ok I've done it.
> DiskKeeper wouldn't defrag enought to make a difference so I had to move
my
> focus to C: drive.
> Still no luck.
> I found an older version of w2k on c: drive and removed it.
> Defraged with heaps better oucome with diskkeeper.
> C: drive then had 4.5 gig free space
> Moved backup to C: drive (750 meg)
> and created new table on C: drive 1 k - (3.7 gig free on c: drive)
> Restored successfully.
> now have 3 gig free space
> Could have been just the free space restrictions.
> Difference between 3.1 failure and 4.5 success.
> Anyone know the formula?
> Perhaps 3gig / .75 gig failure = 4 times
> and 4.5 gig / .75 gig success = 6 times
> Thanks,
> baz
>
> "Barry G. Sumpter" <barrysum@.bigpond.net.au> wrote in message
> news:#V7#YyXXEHA.712@.TK2MSFTNGP11.phx.gbl...
> to.
> defraggin
>sql