다음을 통해 공유


Azure Websites Backup

It’s considered a best practice to apply proper backup strategies in production environment, and more important in cloud environments. If you are using Azure websites, you can easily backup and restore your websites hosted in Azure.

I shall explain in a nutshell how to easily backup your azure websites. You need to understand what information Azure Website backup up. Azure backups your website configuration, website file content and your databases connected to your website. And each backup will be a complete offline copy of your website, not an incremental backup.

  1.  Login to Azure Management Portal(manage.windowsazure.com)

  2.  Go to websites, you can see the list of websites you created in azure, Select your website you want to backup and it will open the website dashboard

  3. Select the backup tab

  4. Turn on the Automatic Backup. Please note that you can backup your website only in standard mode. So if you are using the free mode, you need to scale to standard mode, and of course it will be chargeable too.

  5. Select the storage account. The storage account must belong to the same subscription as the website that you are going to back up.

    6: In the Included Databases option, select the databases that are connected to your website (SQL Server or MySQL) that you want to back up. Azure reads the list of database from the configuration file. For a database to appear in this list, its connection string must exist in the Connection Strings section of the Configure tab in the portal.

  6. Set the frequency and click save

Azure will backup your website as you mentioned, as per the schedules. After you have made one or more backups, they will be visible on the Containers tab of your storage account. Your backups will be in a container called website backups. Each backup consists of a .zip file that contains the backed up data and an .xml file that contains a manifest of the .zip file contents.

You can view the details of backup operation through Logs .