How can I get RAM frequency from the OS X low-level terminal? Which comand can help in this situation?
I created a recovery services vault in Azure to back up a few Azure VM's. I've been performing daily backups of the VM's but the VM's are no longer needed. I see settings for weekly/monthly/yearly retention policies for the recovery services vault. I'd like to delete the VM's to cut back on costs but I want to store backup copies permanently in case this project picks up in again in the future.
Are the monthly/yearly retention policies my only method for storing these VM's backups for an extended period of time/permanently, or if I leave these specific settings unconfigured will the recovery services vault store the backups permanently? Clarification or suggestions on storing VM backups in Azure long term would be appreciated.
I'm currently backing up Azure VMs via Azure CLI:
create resource group:
az group create -n backup-resource-group -l uksouth
create recovery services vault:
az backup vault create --resource-group backup-resource-group --name backup --location uksouth
loop VMs to create backup jobs:
az backup protection enable-for-vm --resource-group backup-resource-group --vault-name backup --vm $(az vm show -g servers-resource-group -n {{ loopedoutvm }} --query id | tr -d '"') --policy-name DefaultPolicy
This works fine, but only backs up VMs in the same Azure region. I'd like to adjust this to store the backups in a different region (in addition to the same region the VMs run in). If I run this again with a new resource group and vault created in a different region, Azure returns a message that recovery service vaults can only contain VMs from that location.
Which is strange, because in the Azure portal, it seems I can replicate VM backups to other regions (either via: some VM > disaster recovery > advanced, or via: some recovery services vault > replicate). But I don't know how to achieve this (or something similar) via Azure CLI in order to automate it. There doesn't seem to be anything in Microsoft's documentation for doing this with CLI.
If anyone could point me in the right direction it would be hugely appreciated.
During the free trial, I spent time fiddling and experimenting with azure. Now that we've moved to paid version, I need to delete all of the experimented things as we don't need all of them.
One of those is a Recovery services vault that somehow got something stuck in it's backup usage (see screenshot below)
The recovery vault as it is now, everything is empty apart from the GRS backup usage
I've looked in all the settings and can find nothing left to remove. Any storage account that may have been linked to the vault is long gone - it's really the only thing that is left in the resource group. I also can't remove the resource group because of this vault.
Any time I try to delete I get following error:
Vault deletion error
Vault 'TestRecoveryServiceVault' cannot be deleted as there are existing resources within the vault. Please delete any replicated items, registered servers, Hyper-V sites (Used for Site Recovery), policy associations for System Center VMM clouds (Used for Site Recovery) and then delete the vault.
I even tried the powershell commands
$vault = Get-AzureRmRecoveryServicesVault -Name "TestRecoveryServiceVault"
Remove-AzureRmRecoveryServicesVault -Vault $vault
(same error as above) and
Remove-AzureRmRecoveryServicesVault -Vault $vault -Force
(but this one throws an error that parameter -Force doesn't exist, I suspect outdated documentation)
I'm at my wits end and would really like this vault gone. Any help is appreciated.
Edit:
Clarification:
There are no tasks left in the vault; only 6MB of data that seems to have come from nowhere, as it didn't get deleted with the tasks. I did not opt to keep backup data when removing tasks.
I'm trying to push out Azure Recovery Services to users desktops without having to manually go to all the users desktops to configure the Azure Recovery Agent and the Vault Credentials. All the automation options that I'm finding assume that you have DPM in place (which we don't, and it isn't required for file/folder backups which is all we care about for this project).
Has anyone seen a way to configure Azure Recovery Services on a users desktop/laptop via powershell, command line switches, witch craft without needing a DPM server?