Automation account -backup

Naresh Babu 145 Reputation points
2023-09-01T08:29:27.93+00:00

Hello team,

is there a way to take Azure Automation Account Backup, please let me know.

I am planning to delete the existing azure automation account which is using Run As Account. before deleting it I want to take backup automation account along with runbooks.. please let me know if there is any way to do it. thanks in advance.

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,306 questions
0 comments No comments
{count} votes

Accepted answer
  1. SwathiDhanwada-MSFT 18,886 Reputation points
    2023-09-04T01:10:48.03+00:00

    @Naresh Babu Yes, there are ways to back up your Azure Automation account before deleting it. Here are some options:

    1. Export Runbooks to Script Files: You can export your runbooks to script files using either the Azure portal or the Export-AzAutomationRunbook cmdlet in Windows PowerShell to your local computer. You can import these script files into another Automation account.
    2. Note Asset Details: You can't export Azure Automation assets, certificates, connections, credentials, schedules, and variables. Instead, you can use the Azure portal and Azure cmdlets to note the details of these assets. Then use these details to create any assets that are used by runbooks that you import into another Automation account.
    3. Export DSC Configurations: You can export your DSC configurations to MOF files using the Export-AzAutomationDscConfiguration cmdlet in Windows PowerShell. You can import and use these configurations in another Automation account.
    4. Export Node Configurations: It isn't possible to export node configurations, or compiled MOF files. If you published MOF files directly into the Automation Account and no longer have access to the original file, you need to recompile from your private configuration scripts. If you can't find the original configuration, you must reauthor it.
    5. **Integration modules :**You can't export integration modules from Azure Automation, they have to be made available outside of the Automation account.

    For more information, refer this document.

    I hope this helps. Let me know if you have any further questions.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.