Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does anyone have a backup strategy for SQL Azure databases?

I'm using SQL Azure on a project and it works great. The problem is that the usual backup features do not exist. I have exported the database a couple of times using SQLAzureMW ( http://sqlazuremw.codeplex.com/ ) but this tool is now choking trying to download the database data with bcp. In any case, it's not as nice a solution as SQL Server backups.

Is anyone aware of a commercial or open source tool, or other technique, for making reliable backups of SQL Azure databases? This is really a showstopper.

like image 570
Pete Avatar asked Apr 14 '10 12:04

Pete


1 Answers

Starting with update 4, SQL Azure now supports database copies. You can make a copy of your database, kept in Azure, and use that to retrieve data in the event of an accidental deletion or schema bugaboo:

http://msdn.microsoft.com/en-us/library/ff951624.aspx

It's still up to you to get that database off Azure and onto your own local SQL Server, though, but at least you've got a mechanism for making a point-in-time copy.

like image 88
Brent Ozar Avatar answered Nov 08 '22 21:11

Brent Ozar