Reputation: 6378
I was trying to create a WindowsAzure backup but I have no success because only create tables structure without data. This is the procedure which I was following:
1.Select the database you want to back up in new portal of windows azure https://manage.windowsazure.com
2.In the footer you will have an option to import/export. Click export. This opens a modal popup. Select the storage account you want to use and type in a appropriate name to save the *.bacpac file.
3.Once the file is saved to storage, download it to local, open sql server 2012 management studio. Select the database server. Right click on it and in the context menu you will find Import Data-Tier Application. Select the bacpac file from you local and follow the settings.
How can I create a backup but also saving the data?
Upvotes: 0
Views: 331
Reputation: 421
Microsoft recently did a pretty comprehensive blog covering all the ways to backup a SQL Azure database.
Just so you know - I develop option number 7 :)
Upvotes: 0
Reputation: 7951
There are a few approaches apart from the T-SQL scripted approach, two provided by Red Gate are:
Upvotes: 0
Reputation: 7424
CREATE DATABASE XXXXXX AS COPY OF YYYYY
MSDN link has a full article on all the different ways you can do this, the above is only one of them. LMGTFY: http://msdn.microsoft.com/en-us/library/windowsazure/ff951624.aspx
Upvotes: 3