Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Restoring a backup, but out of space
I am trying to restore an old backup to another database.  The backup
is 20GB in size but it keeps telling me that I need an addtional 200GB
in free space.  I've searched and read some of the older postings and
used the RESTORE HEADERONLY command to confirm that:
a) There is only one backup in the backup file
b) It says the BackupSize is only 22GB


I'm using MSSQL 2k with SP3a on Win2k3 Enterprise.  I can't seem to
figure out why the backup will not restore when I have 100GB free on
the drive.  Any ideas would be appreciated.

Thanks


Report this thread to moderator Post Follow-up to this message
Old Post
M
09-28-05 04:23 PM


Re: Restoring a backup, but out of space
Hi

Run RESTORE FILELISTONLY to see the file sizes of the data and log files.
You might have a massive data and log file with very little data in it.

Regards
--------------------------------
Mike Epprecht, Microsoft SQL Server MVP
Zurich, Switzerland

IM: mike@epprecht.net

MVP Program: http://www.microsoft.com/mvp

Blog: http://www.msmvps.com/epprecht/

"M" <michael.atwood@gmail.com> wrote in message
news:1127918735.762197.296710@g14g2000cwa.googlegroups.com...
>I am trying to restore an old backup to another database.  The backup
> is 20GB in size but it keeps telling me that I need an addtional 200GB
> in free space.  I've searched and read some of the older postings and
> used the RESTORE HEADERONLY command to confirm that:
> a) There is only one backup in the backup file
> b) It says the BackupSize is only 22GB
>
>
> I'm using MSSQL 2k with SP3a on Win2k3 Enterprise.  I can't seem to
> figure out why the backup will not restore when I have 100GB free on
> the drive.  Any ideas would be appreciated.
>
> Thanks
>



Report this thread to moderator Post Follow-up to this message
Old Post
Mike Epprecht \(SQL MVP\)
09-28-05 04:23 PM


Re: Restoring a backup, but out of space
Okay, the problem then is definitely a huge log file (177 GB).  Either
it is was greatly compressed in the backup or it was empty when the
backup ran.  Given that this is a complete database backup, is there
anyway to restore this database without freeing up enough space for the
seemingly empty log file to be restored?

Thanks


Report this thread to moderator Post Follow-up to this message
Old Post
M
09-28-05 04:23 PM


Re: Restoring a backup, but out of space
I'm afraid not. SQL Server need to be able to create each file with the same
 size as it had when you
took the backup.

--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www. solidqualitylearning
.com/
Blog: http:// solidqualitylearning
.com/blogs/tibor/


"M" <michael.atwood@gmail.com> wrote in message
news:1127920046.810972.279520@f14g2000cwb.googlegroups.com...
> Okay, the problem then is definitely a huge log file (177 GB).  Either
> it is was greatly compressed in the backup or it was empty when the
> backup ran.  Given that this is a complete database backup, is there
> anyway to restore this database without freeing up enough space for the
> seemingly empty log file to be restored?
>
> Thanks
>


Report this thread to moderator Post Follow-up to this message
Old Post
Tibor Karaszi
09-28-05 04:23 PM


Re: Restoring a backup, but out of space
Hi,

No , you can not restore the database unless you have the space free in hard
disk. Only solution is get the hard disk space or
in the source try to shrink the Log file and take the backup. After that you
can backup the database at source again and send it
to destination server to restore.

Thanks
Hari
SQL Server MVP


"M" <michael.atwood@gmail.com> wrote in message
news:1127920046.810972.279520@f14g2000cwb.googlegroups.com...
> Okay, the problem then is definitely a huge log file (177 GB).  Either
> it is was greatly compressed in the backup or it was empty when the
> backup ran.  Given that this is a complete database backup, is there
> anyway to restore this database without freeing up enough space for the
> seemingly empty log file to be restored?
>
> Thanks
>



Report this thread to moderator Post Follow-up to this message
Old Post
Hari Prasad
09-29-05 01:23 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

MS SQL Server archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 02:09 PM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006