Backing up a VM before deleting - azure

We have one Linux and one Windows VM that we no longer have a need for. Before we delete the VM, we would like to back it in case we need to go back to it. What is the best way to do this?
Thank you!
Sanjeev

The best method is to use the Azure Backup Service
https://learn.microsoft.com/en-us/azure/backup/backup-overview

Related

Deleting a scheduled message from Azure service bus without using code?

I know I can delete an Azure service bus queue scheduled message from code, but I'm looking for a way to do it with a tool. ex. Azure Storage Explorer, Service Bus Explorer, etc.
It doesn't seem like any of the tools allow this?
As Sean Feldman said in the comment, there is no ready tools to achieve your requirement, you need to achieve it by code or script.
QueueExplore can display and delete scheduled messages. Or reschedule them. Or perform any other typical operation like move, copy, etc.
https://www.cogin.com/QueueExplorer/azure-service-bus/
However, I see that Mac is mentioned in the comments, QueueExplorer is currently Windows only (and Linux with Wine).

Download Azure VM to local Hyper-V

I am looking for a way to migrate my VM's off Azure so I can run them locally on my Win8, Hyper-V enabled machine. Is this possible? If so can someone point me to a tutorial or some reference for doing so? My research has not found a straight forward approach.
Thanks
Yes, it's possible:
https://web.archive.org/web/20161205162932/https://www.opsgility.com/blog/windows-azure-powershell-reference-guide/uploading-and-downloading-vhds-to-windows-azure/
http://social.msdn.microsoft.com/Forums/windowsazure/en-us/ea159bb9-fd67-4248-b6f4-1b3904a63455/how-to-download-a-vhd-from-windows-azure-to-my-local-pc-?forum=WAVirtualMachinesforWindows
Just one information: you'll pay for each MB that you'll download.

Detect Azure Stage or Production by Microsoft.WindowsAzure.ServiceRuntime

I know this question has been asked before, like this one. But they all very old, the method is very complex and I tried cannot really get it work. So I wonder if the new Azure SDK gives something easy, I guess should from Microsoft.WindowsAzure.ServiceRuntime namespace.
I need this because I use a worker role that mount CloudDrive, keep checking it and share to the network, then build a lucene.net on it.
This deployment works very well.
Since only 1 instance can mount the CloudDrive, so when I do VIP swap, I have to stop/(or delete) the stage deployment, then the new production deployment can successfully mount the drive. This cause the fulltext search stop for awhile (around 1-2 minutes if everything well and I click the button fast enough). So I wonder if I can detect current status, and only mount when production and unmount when stage.
I figured out one way to solve this, please see my answer here:
https://stackoverflow.com/a/18138700/1424115
Here a what more simpler solution.
What i did was an ip check. The staging enviroment gets a different external ip then the production enviroment. The production ip adres is the ip of (yourapp).cloudapp.net. So the only thing you need to do is to check if these two match.

How to update a Windows Azure Worker Role while running

I have a single instanced Worker Role up and running. Now I want to update the Worker Role via RDP without redeploying (for testing issues). How can I do this?
(I know that the local changes are lost if the VM will be recycled)
Edit: I simply want to replace the running code on the worker role like it works with IIS.
Didn't you kind of answer your own question? RDP? Or are you asking how to get RDP working?
The answer to your question is actually pretty simple :)
http://waawebroles.codeplex.com/
You get the "Deploy" functionality of VS to work with an azure deployment. It is useful in some situations. You get a template for the deployment & a really sexy application manager along with the publish endpoint that you can use VS with. Really cool, to be honest. I'd use it, but I need the local resources etc., to work too...
One more blog post explaining how it works.

Can clone VM be application backup plan?

I am application developer and don't know much about virtual machine(VM).
however, our application is resided on a VM. frequent patch need be apply to fix/update this application. For diaster recovery, It was suggest to backup every thing on the server. so, once server is restored, no application need be re-installed and configured.
our network administrator thinks it can be done by cloning VM. but if we want to backup the clone to a tape. it would expose VM to backup drive. any one who can access to it can erase the VM and every thing woudl be gone. it is very risky.
I would appreciate it if you could let me what you think on this or any suggestion.
Cloning is perfectly acceptable.
You don't have to backup to tape... It can be done to a NAS for example, and with the proper security and setup, backups cannot be deleted by unauthorized people.
You can use any NAS and VM replication software like Veeam, Acronis or Nakivo. It will totally solve your problems. All software has various permission settings so you can control who can and who can not delete your data.

Resources