﻿<?xml version='1.0' encoding='UTF-8'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>SQLServerCentral / SQL Server 2005 / Backups  / Backup / restore issue / Latest Posts</title><generator>InstantForum.NET v2.9.0</generator><description>SQLServerCentral</description><link>http://www.sqlservercentral.com/Forums/</link><webMaster>notifications@sqlservercentral.com</webMaster><lastBuildDate>Wed, 19 Jun 2013 06:43:11 GMT</lastBuildDate><ttl>20</ttl><item><title>RE: Backup / restore issue</title><link>http://www.sqlservercentral.com/Forums/Topic781529-357-1.aspx</link><description>It looks like you have 2 options.1.  get more space2.  Have the prod dba import the data for you (as mentioned above)I doubt they would shrink a production database as that could cause fragmentation and it was probably created that large for a reason.</description><pubDate>Fri, 04 Sep 2009 08:17:48 GMT</pubDate><dc:creator>Steve-3_5_7_9</dc:creator></item><item><title>RE: Backup / restore issue</title><link>http://www.sqlservercentral.com/Forums/Topic781529-357-1.aspx</link><description>[quote][b]Sudeepta (9/3/2009)[/b][hr]You have a full backup of size 1GB. Create a database on the QA environment with the same logical file name as of the Production DB. Restore the database and then shrink it.Script:[code="sql"]RESTORE DATABASE [DATABASE_NAME]FROM DISK = 'Path_of_the_backupfile',MOVE 'Logical_datafilename' TO 'Physical_datafile_location',MOVE 'Logical_logfilename' TO 'Physical_logfile_location',REPLACE GO[/code][/quote]The initial size of the file is 60 GB and They don't have that much space on their QA Server. :unsure:</description><pubDate>Thu, 03 Sep 2009 02:45:38 GMT</pubDate><dc:creator>Sarab_SQLGeek</dc:creator></item><item><title>RE: Backup / restore issue</title><link>http://www.sqlservercentral.com/Forums/Topic781529-357-1.aspx</link><description>You have a full backup of size 1GB. Create a database on the QA environment with the same logical file name as of the Production DB. Restore the database and then shrink it.Script:[code="sql"]RESTORE DATABASE [DATABASE_NAME]FROM DISK = 'Path_of_the_backupfile',MOVE 'Logical_datafilename' TO 'Physical_datafile_location',MOVE 'Logical_logfilename' TO 'Physical_logfile_location',REPLACE GO[/code]</description><pubDate>Thu, 03 Sep 2009 02:10:42 GMT</pubDate><dc:creator>Sudeepta</dc:creator></item><item><title>RE: Backup / restore issue</title><link>http://www.sqlservercentral.com/Forums/Topic781529-357-1.aspx</link><description>as per my knowledge [b]NO[/b]but you can ask the prod team to export the prod data to new DB of your QA Server.</description><pubDate>Wed, 02 Sep 2009 10:42:26 GMT</pubDate><dc:creator>Sarab_SQLGeek</dc:creator></item><item><title>RE: Backup / restore issue</title><link>http://www.sqlservercentral.com/Forums/Topic781529-357-1.aspx</link><description>First option is not possible, because prod environment is not in my control.Second, I will be getting the backup file only from production, nothing else.Any changes can be performed in QAT while restoring. Please let me know if this can be done ( i mean change the initialsize to 3 mb while restore itself).....I have the access only to QAT to make any changes while restoring.</description><pubDate>Wed, 02 Sep 2009 09:09:41 GMT</pubDate><dc:creator>Jus</dc:creator></item><item><title>RE: Backup / restore issue</title><link>http://www.sqlservercentral.com/Forums/Topic781529-357-1.aspx</link><description>There are many ways to resolve this:Ist is try to shrink this DB and then take a fresh backup which can be restored at the destination(QA) Server. [but this can result in fragmentation]2nd is if the DB has only 1GB of data you should create a fresh DB with initial size 1 GB and do enable the autogrowth but only by 10% and then shift all your data to that DB and then take a fresh backup and restore it.</description><pubDate>Wed, 02 Sep 2009 09:02:44 GMT</pubDate><dc:creator>Sarab_SQLGeek</dc:creator></item><item><title>Backup / restore issue</title><link>http://www.sqlservercentral.com/Forums/Topic781529-357-1.aspx</link><description>Hello Guys,I have an issue with backup / restore process. The issue as under:I have a SQL Server 2005 Database  in Production, for which InitailSize is set to 60 Gig. Infact the DB is not that big and when i have taken the full backup of this database, The backup file size is shown as 1 gig only.Now the issue is, My QAT environment doesnot have 60 gig free space. it has only 10 gig of free space. I want this DB to restored in QAT environment with initial size say 4 or 5 gig. how will i do that?Script for the same would be appreciated.--Jus</description><pubDate>Wed, 02 Sep 2009 08:40:17 GMT</pubDate><dc:creator>Jus</dc:creator></item></channel></rss>