Backup Azure Services

%3CLINGO-SUB%20id%3D%22lingo-sub-2048606%22%20slang%3D%22en-US%22%3EBackup%20Azure%20Services%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2048606%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Everyone%2C%3C%2FP%3E%3CP%3EI%20want%20to%20have%20a%20copy%20of%20all%20Services%20I%20have%20created%2C%20and%20delete%20them%20after%20having%20a%20copy.%20I%20don't%20know%20if%20I%20can%20do%20a%20backup%20for%20services%20only%20and%20restor%20them%20when%20I%20need%20them.%26nbsp%3B%3CBR%20%2F%3EI%20also%20want%20to%20have%20a%20backup%20for%20all%20pipelines%20in%20ADF.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eis%20impossible%20to%20do%20that%20%2C%20and%20how%3F%3C%2FP%3E%3CP%3EBR%2C%3C%2FP%3E%3CP%3EMohammed%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2049311%22%20slang%3D%22en-US%22%3ERe%3A%20Backup%20Azure%20Services%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2049311%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F924671%22%20target%3D%22_blank%22%3E%40mmoayed%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%26nbsp%3B%3C%2FP%3E%3CP%3Ei%20would%20suggest%20to%20simply%20use%26nbsp%3B%20Infra%20as%20code%20so%20you%20can%20create%20and%20destroy%20declarative%20templates%26nbsp%3B%20on%20demand%20.%26nbsp%3BIt%20can%20be%20ARM%20or%20Terraform%20or%20Pulumi%20...%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%20i%20think%20you%20can%20start%20creating%20a%20table%20like%20the%20one%20below%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CTABLE%20border%3D%221%22%20width%3D%22100%25%22%3E%3CTBODY%3E%3CTR%3E%3CTD%20width%3D%2225%25%22%20height%3D%2257px%22%3EService%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%20height%3D%2257px%22%3ENative%20Backup%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%20height%3D%2257px%22%3EThird%20Party%20Solution%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2212.5%25%22%20height%3D%2257px%22%3ETemplate%20Readiness%3C%2FTD%3E%3CTD%20width%3D%2212.5%25%22%20height%3D%2257px%22%3EMethod%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2225%25%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2212.5%25%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2212.5%25%22%20height%3D%2229px%22%3E%26nbsp%3B%3C%2FTD%3E%3C%2FTR%3E%3CTR%3E%3CTD%20width%3D%2225%25%22%20height%3D%2257px%22%3EADF%20Flow%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%20height%3D%2257px%22%3ENo%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2225%25%22%20height%3D%2257px%22%3ENot%20needed%3C%2FTD%3E%3CTD%20width%3D%2212.5%25%22%20height%3D%2257px%22%3EYes%26nbsp%3B%3C%2FTD%3E%3CTD%20width%3D%2212.5%25%22%20height%3D%2257px%22%3E%3CP%3ESave%20As%20Template%26nbsp%3B%3C%2FP%3E%3CP%3E(Arm%20Templates)%3C%2FP%3E%3C%2FTD%3E%3C%2FTR%3E%3C%2FTBODY%3E%3C%2FTABLE%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2056359%22%20slang%3D%22en-US%22%3ERe%3A%20Backup%20Azure%20Services%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2056359%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F540591%22%20target%3D%22_blank%22%3E%40ibrahimambodji%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you%20for%20replying.%3C%2FP%3E%3CP%3EWell%2C%20I%20did%20not%20get%20you.%20I%20have%20created%20many%20Services%20and%20they%20are%20charged%20on%20daily%20basis%20and%20I%20want%20to%20delete%20them%2C%20but%20before%20that%2C%20I%20want%20to%20have%20a%20copy%20of%20these%20services%20and%20when%20I%20need%20them%20I%20can%20gain%20import%20them.%3CBR%20%2F%3EFor%20example%20Event%20Hubs%2C%20Stream%20analytics...etc.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20find%20that%20I%20can%20do%20export%20Template%2C%20but%20I%20did%20not%20where%20to%20import%20template%20to%20test%20and%20see%20if%20they%20will%20get%20back%20as%20I%20create%20after%20I%20delete%20them.%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22mmoayed_0-1610538932860.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F246079i7051482F0A42B314%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20role%3D%22button%22%20title%3D%22mmoayed_0-1610538932860.png%22%20alt%3D%22mmoayed_0-1610538932860.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2056561%22%20slang%3D%22en-US%22%3ERe%3A%20Backup%20Azure%20Services%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2056561%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F924671%22%20target%3D%22_blank%22%3E%40mmoayed%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHi%26nbsp%3B%3C%2FP%3E%3CP%3EI%20mean%20when%20you%20export%20the%20template%20you%20are%20exporting%20the%20declaration%20file%20of%20the%20resource%20.%26nbsp%3B%3C%2FP%3E%3CP%3ESo%20whenever%20you%20deploy%20with%20this%20declaration%20you%20will%20get%20exactly%20what%20you%20want%20.%26nbsp%3B%3C%2FP%3E%3CP%3EYou%20can%20use%20the%20following%20tutorial%20to%20start%20with%20arm%20%2B%20powershell%20you%20can%20do%20it%20also%20with%20azure%20cli%26nbsp%3B%20%3A%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-resource-manager%2Ftemplates%2Fdeploy-powershell%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EDeploy%20resources%20with%20PowerShell%20and%20template%20-%20Azure%20Resource%20Manager%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fazure-resource-manager%2Ftemplates%2Fdeploy-cli%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EDeploy%20resources%20with%20Azure%20CLI%20and%20template%20-%20Azure%20Resource%20Manager%20%7C%20Microsoft%20Docs%3C%2FA%3E%3C%2FP%3E%3CP%3EAlso%20you%20can%20deploy%20it%20directely%20from%20the%20portal%20(feature%20still%20in%20preview%20)%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fazure.microsoft.com%2Ffr-fr%2Fupdates%2Fdeploy-custom-templates-from-the-preview-portal%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EDeploy%20custom%20templates%20from%20the%20preview%20portal%20%7C%20Mises%20%C3%A0%20jour%20Azure%20%7C%20Microsoft%20Azure%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hello Everyone,

I want to have a copy of all Services I have created, and delete them after having a copy. I don't know if I can do a backup for services only and restor them when I need them. 
I also want to have a backup for all pipelines in ADF.

 

is impossible to do that , and how?

BR,

Mohammed

 

5 Replies

@mmoayed 

 

Hi 

i would suggest to simply use  Infra as code so you can create and destroy declarative templates  on demand . It can be ARM or Terraform or Pulumi ... 

 

However i think you can start creating a table like the one below 

 

Service Native Backup Third Party Solution Template ReadinessMethod
     
ADF Flow No Not neededYes 

Save As Template 

(Arm Templates)

 

 

@ibrahimambodji 

Thank you for replying.

Well, I did not get you. I have created many Services and they are charged on daily basis and I want to delete them, but before that, I want to have a copy of these services and when I need them I can gain import them.
For example Event Hubs, Stream analytics...etc.

I find that I can do export Template, but I did not where to import template to test and see if they will get back as I create after I delete them.

mmoayed_0-1610538932860.png

 

@mmoayed 

Hi 

I mean when you export the template you are exporting the declaration file of the resource . 

So whenever you deploy with this declaration you will get exactly what you want . 

You can use the following tutorial to start with arm + powershell you can do it also with azure cli  :  

Deploy resources with PowerShell and template - Azure Resource Manager | Microsoft Docs

Deploy resources with Azure CLI and template - Azure Resource Manager | Microsoft Docs

Also you can deploy it directely from the portal (feature still in preview )

Deploy custom templates from the preview portal | Mises à jour Azure | Microsoft Azure

@ibrahimambodji 

Thank you. I tried it and the idea is working well.

 

@mmoayed 

Awsome ! Feel free to mark as answer  if it is ok for you . Thanks