How to restore your MS SQL database.

In order to restore an existing MS SQL database onto your hosting account please follow the instructions below:

SQL Server is backwards compatible for restores. If you have a backup of an SQL Server database that is older than the version you have created in our CP then simply restore the older backup to our newer server. It will restore and put itself into the Compatibility Level of your backed up database.

To restore your MS SQL database:

  • Firstly make sure you have an MS SQL backup file (.bak) from an existing MS SQL Server database. This could be a backup from your own local installation (In SQL Server Management Studio, right click the database > tasks > backup) or from another hosting provider.

  • If the file is large (greater than a few MB) then please upload (via FTP) the .bak file to a location in your webspace on our web server.

  • Now login to your hosting control panel.

  • Click the MS SQL database version your working with under the Databases icons.

  • If you have not already, then create a new database that you want to restore over (If you are restoring over an existing database then be aware that any previous data on that database will be deleted during the restore. Also make sure that there are no current connections to the database e.g. close any open Management Studio connections).

  • Do not create a database user at this time.

  • Once the new database is created click its name from the database list.

  • Click Maintenance Tools.

  • Click Restore.

  • You can now select to restore from an "Uploaded File" or a "Hosting Space File". If you took the advice above and uploaded the backup database file to your webspace then select "Hosting Space File" and use the file navigation tool to locate the .bak file you uploaded previously.

  • Click Restore.

  • Please be patient after clicking the Restore button. Depending on the size of your database this could take a long time.

  • Once the restore has completed the screen will return to the database list.

  • Now go ahead and create the database user you want to use for the database with the Create User button under the logins listing.

You can now create/edit your database connection string in your applications code. Use SQL Server authentication with the login you created above and with the servers hostname: http://portal.winserve.co.uk/knowledgebase.php?action=displayarticle&id=6

If you have a BACPAC backup file and cannot get a normal BAK file then please see this link:

https://portal.winserve.co.uk/index.php?rp=/knowledgebase/146/How-to-restore-your-MS-SQL-database-backup-on-our-database-servers-BACPAC.html

 

  • ms sql, restore, restore BAK, BAK, import, bacpac, import sql, sql
  • 11547 användare blev hjälpta av detta svar
Hjälpte svaret dig?

Relaterade artiklar

How to change your default MS SQL language / locale.

By default all MS SQL database users you create in our control panel are set to British - English...

SQL Server Management Studio error: Saving changes is not permitted ....

If you receive the following error in SQL Server Management Studio please see the link below:...

Upgrade your database to new MS SQL Server version

If you would like to have your MS SQL database upgraded to a new MS SQL Server version please...

Error trying to login to SQL Server Management Studio - The server principal ...

If you get the following error when trying to login to Microsoft SQL Server Management Studio...

What tool do I use to manage SQL Server databases, and where do I get it?

The tools you need to develop MS SQL databases and to connect to our servers are available free...