Archive for the ‘Azure Backup’ Tag

How to Backup Azure file shares with #AzureBackup #ASR #AFSB #Azure   Leave a comment

Backup for Azure file shares is something that is a feature that we all want. Azure Files is a cloud-first file share solution with support for industry standard SMB protocol. Azure Backup enables a native backup solution for Azure file shares, a key addition to the feature arsenal to enable enterprise adoption of Azure Files. Using Azure Backup, via Recovery Services vault, to protect your file shares is a straightforward way to secure your files and be assured that you can go back in time instantly.

If you want to read my old blogs about Azure backup https://robertsmit.wordpress.com/tag/azure-backup/

Below is a schematic on how the Backup for Azure File Shares Works.

Backup for Azure File Shares

Key features

  • Discover unprotected file shares: Utilize the Recovery Services vault to discover all unprotected storage accounts and file shares within them.
  • Backup multiple files at a time: You can back up at scale by selecting multiple file shares in a storage account and apply a common policy over them.
  • Schedule and forget: Apply a Backup policy to automatically schedule backups for your file shares. You can schedule backups at a time of your choice and specify the desired retention period. Azure Backup takes care of pruning these backups once they expire.
  • Instant restore: Since Azure Backup utilizes file share snapshots, you can restore just the files you need instantly even from large file shares.
  • Browse individual files/folders: Azure Backup lets you browse the restore points of your file shares directly in the Azure portal so that you can pick and restore only the necessary files and folders.

How to start with the Azure File share backup

First we make a backup vault that holds all the backups.

image

In the Azure Recovery services Vault I created a new vault that holds my file share backup.

Doing this with powershell :

$vaultname="Azure-Fileshare-Vault02"
$rsgroup="AFS-BV-02"
$Location="West US"

Get-AzureRmRecoveryServicesVault
New-AzureRmResourceGroup -Name $rsgroup -Location $Location
New-AzureRmRecoveryServicesVault -Name $vaultname -ResourceGroupName $rsgroup -Location $Location

Now we open the just created backup vault and add a Backup job

image

Adding the Azure Backup job

image

As you can see the new Azure FileShare option is there.  If you want to do this with Powershell keep in mind that you will need the latest updates and as this is a preview it might change in the next version as currently there is only the -WorkloadType "AzureVM" option there.

image

Now we select the storage account that holds the file share.

image

It could take some time for the validation.

image

Now that the file share is selected, we can make a backup policy. Or use one that you already created.

image

After establishing a backup policy, a snapshot of the File Shares will be taken at the scheduled time, and the recovery point is retained for the chosen period.

image

Then finally we enable the backup. There will be a initial backup created.

image

When you check the backup jobs in you backup vault you can see the just created file share backup.

image

Just wait for the first backup or go to the job an right click and do a backup now.

image

You can also create an ondemand backup or stop the backup. 

image

With the backup now you can force to backup the FileShare.

image

If you double click the backup item and go to …more you can Stop the backup or even delete the backup.

Azure File Share Restore

image

Well the Azure FileShare Restore is easy, Pick restore in the menu and pick a restore point.

image

You can pick the original location but an alternate location can also be used. This is a great option on selecting the files or place the restored files on a different locations to sort out the files first.

 

Follow Me on Twitter @ClusterMVP

Follow My blog https://robertsmit.wordpress.com

Linkedin Profile Robert Smit MVP Linkedin profile

Google  : Robert Smit MVP profile

Bing  : Find me on Bing Robert Smit

LMGTFY : Find me on google Robert Smit

Advertisements

Posted February 27, 2018 by Robert Smit [MVP] in Azure Site Recovery

Tagged with ,

Azure Backup building backup vaults Protect On-premises workloads for Azure VM in Azure #azure #marsa #mars   2 comments

The usage of cloud is often a pain what application or server should we move to the cloud just to get the feeling. And what about backup where to store the files. Well you could move your backup to the cloud and see how this is treating you. If you have storsimple or SCDPM than you can use also the backup vaults.  or save the azure backup on premise. Or simple create a backup vault.

The big difference between backup Protect On-premises workloads and Protect Azure Virtual Machines is simple in the Protect Azure Virtual Machines there is a full copy of the machine and no file selection. If you want file selection backup in Azure virtual machines you will need Protect On-premises workloads.

Funny Protect On-premises workloads for Azure Virtual machines running in Azure

image

all you need is an agent and a Azure Subscription go to http://manage.windowsazure.com

Setting up backup for Azure virtual machines can be achieved in three simple steps:

  1. Discover the machines that can be protected in the Azure Backup vault.
  2. Register the discovered virtual machines to Azure Backup vault.
  3. Protect the registered virtual machines by associating them with a policy defining backup schedule and how long you want to retain.

First we need a backup Vault keep in mind that the region of your azure VM’s must be the same as you backup vault. when you do a on premise backup there is no need for this.

 

image

In this section you can create a site recovery vault backup or a backup vault.  More info about and how to setup a recovery vault https://robertsmit.wordpress.com/2014/08/27/azure-site-recovery-service-asrs-hyper-v-to-azure-recovery-mvpbuzz/ Azure Site Recovery Service #ASR #Hyper-v to #Azure #Recovery

image

Now that the vault is created you have two options what to backup Protect On-premises workloads or Protect Azure Virtual Machines

 

image

The Protect On-premises workloads is easy to setup First we need the vault credentials that are needed for the secure communication between on premise and azure

image

We save this file on the protected machine or on a file share.

And we need to download an agent and install this on every machine that we want to backup. No there is no Management suite to manage all this.

image image

Installing the Agent and registering the Vault credentials.

 

image Generate a passphrase or use your own but in case of a lost passphrase your backup is gone.

WARNING:

If the passphrase is lost or forgotten; Microsoft cannot help in recovering the backup data. The end user owns the encryption passphrase and Microsoft does not have any visibility into the passphrase which is used by the end user. Please save the file in a secure location as it would be required during a recovery operation.

When checking Azure you can see Windows Server and Azure VM to protect.

image

 

image

the backup tool to select files and folders to backup.

 

image

Protect Azure Virtual Machines

image

 

First we need to register items to the vault to protect. this will run a quick discovery of all your VM’s in the Region / subscription

To make sure that all items are discovered we run discover first

image

Successfully discovered virtual machines in the region West Europe. Please register the virtual machines to a vault of same region.

Now we are ready to register some machines to backup

image

I want to backup my mvpdummy01 machine

image

Check Protect and pick the machine and this machine is now registered

image

next step is to protect this VM again select the machine and your done.

image

Now that the machine is registered and protected we can us a default or create a custom protection level. the max setting is 99 years. why not 100 ? Guess this is not a time machine but only a backup vault that you can restore a windows server 2003 in year 2114

imageimage

 

image

Storage replication

The Locally Redundant option maintains 3 copies of your data within the same region.
The Geo-Redundant option maintains 3 copies of your data locally and 3 copies in a secondary storage region.

The storage replication choice cannot be changed once items have been registered to the vault. Learn More

 

 

Nice and easy backup

Happy Clustering

Greetings,

Robert Smit

https://robertsmit.wordpress.com/

Posted September 14, 2015 by Robert Smit [MVP] in Azure, Azure Site Recovery

Tagged with ,

  • Twitter

  • Advertisements
    %d bloggers like this: