Restore a SQL Server database from a .bak file generated from hosting provider (Arvix) to godaddy servers

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
3/25/2015 2:11:46 AM
Gravatar
Total Posts 13

Restore a SQL Server database from a .bak file generated from hosting provider (Arvix) to godaddy servers

Hi Guys,

I understand I should not post this here but thought of sharing as you guys might have experienced the same.

 I want to restore a SQL Server database from a .bak file generated from hosting provider (Arvix) to godaddy servers.

The approaches I tried are

1. Tried uploading to server repository using Backup Manager feature. After uploading it says invalid.bak file
2. Importing data - Indexes, stored procedures, Identity column does not retain in destination server tables
3. As Go-daddy support suggested, uploaded file using FileManager but now I don't know what to do next
4. Tried restoring DB using SQL Server Management Studio and selected .bak file stored in my local machine but it says No Restore         Backup file found.
5. Tried contacting pathetic support team. But they do not have any answer for this.

Any help guys?

Thanks AV

3/25/2015 7:45:03 AM
Gravatar
Total Posts 18439

Re: Restore a SQL Server database from a .bak file generated from hosting provider (Arvix) to godaddy servers

you are correct that this is not the best place for such a question, there is plenty of info on the web about sql server and backup/restore, I suggest google or bing

I don't know anything about tools provided by specific hosts.

A properly created sql backup file should be able to restore on another instance of sql sever depending on the version of sql server. It is also possible to create an empty .bak file if it was not created properly and it is also possible to have multiple backups in a single .bak file. What you need is a .bak with a single full database backup that has all transactions committed. These things are determined by options selected when generating the backup.

a backup created on an older version of sql server can typically be restored on a newer version of sql server but a backup made on a newer version of sql server generally cannot be restored on an older version, ie a backup made on sql 2014 most likely cannot be restored on sql 2012 or sql 2008 or sql 2005

 

3/26/2015 12:49:05 AM
Gravatar
Total Posts 13

Re: Restore a SQL Server database from a .bak file generated from hosting provider (Arvix) to godaddy servers

Thanks for the reply Joe.

As mentioned earlier I tried all the stuff as mentioned. But as there is dependency in GoDaddy none of the solution worked.

However I find out work around. 

a. Ran the generated scripts on GoDaddy Servers\.

b. Disable all FK constraints check.

c. Imported the data 

d. Re-enabled  constraints.

Worked fine.

 

Thanks once again.

 

 

 

3/26/2015 10:56:02 PM
Gravatar
Total Posts 2

Re: Restore a SQL Server database from a .bak file generated from hosting provider (Arvix) to godaddy servers

Yes, that's correct way. If you have problem, plesae just send your .bak file and ask them to restore it for you. If they dont answer you, I cant say anything. :) Just hope and pray. hehe... But, I believe they will answer you.

You must sign in to post in the forums. This thread is closed to new posts.