Solved

Problem with backing up sql server

Posted on 2013-12-12
4
7,252 Views
Last Modified: 2013-12-12
Hi,

We just moved a a sql database from a server to another. When we try to backup the database we get the following error message:


TITLE: Microsoft SQL Server Management Studio
------------------------------

Backup failed for Server 'INTRANET'.  (Microsoft.SqlServer.SmoExtended)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=11.0.3000.0+((SQL11_PCU_Main).121019-1325+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.FailedOperationExceptionText&EvtID=Backup+Server&LinkId=20476

------------------------------
ADDITIONAL INFORMATION:

System.Data.SqlClient.SqlError: Cannot use the backup file 'C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\myrornaDB.bak' because it was originally formatted with sector size 4096 and is now on a device with sector size 512. (Microsoft.SqlServer.Smo)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=11.0.3000.0+((SQL11_PCU_Main).121019-1325+)&LinkId=20476


Anyone of you expert ts that have a solution?

Peter
0
Comment
Question by:peternordberg
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 19

Assisted Solution

by:jss1199
jss1199 earned 167 total points
ID: 39714897
Are you appending to an existing backup file?  Try backing up to a new file.
0
 
LVL 8

Assisted Solution

by:virtuadept
virtuadept earned 166 total points
ID: 39714898
What if you remove that file and let it create a new backup file on the new server?

C:\Program Files\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\myrornaDB.bak

Seems like it is trying to re-use the file but can't because:

it was originally formatted with sector size 4096 and is now on a device with sector size 512

Maybe if that file was not there it would make a new file with the right sector size.
0
 
LVL 3

Accepted Solution

by:
Jerry_Justice earned 167 total points
ID: 39714903
When you moved SQL, did you move this backup file along with the database?

If so, simply rename myrornaDB.bak to something else.  It sounds like it is trying to write to the same backup set and it can't because of the different sector size.  If you rename or delete the existing myrornaDB.bak, it will create a new one.

Personally, I prefer each back up to go to a new file with the date embedded in the file name.  It looks like you are using a batch file or scheduled task to backup to the same file every time.
0
 

Author Closing Comment

by:peternordberg
ID: 39714923
Hi,

I created a totally new backup set and then it worked. Thanks all.

Peter
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Convert  results from the query output to insert into sql table 3 30
Extension Change 2 30
SQL query 45 41
Group ordersum by orderdate 3 21
International Data Corporation (IDC) prognosticates that before the current the year gets over disbursing on IT framework products to be sent in cloud environs will be $37.1B.
In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question