Can we trigger azure backup using ip address of a VM?

Biswas, Amita 1 Reputation point
2020-10-21T18:08:18.887+00:00

If we have two ip address allocated with one VM name, how can we trigger backup?
I am using below azure backup command:
az backup protection backup-now --resource-group <rg> --vault-name <vault> --container-name <container> --item-name <vm name> --retain-until 20-11-2020 --backup-management-type AzureIaasVM

And getting below error:
Command group 'backup' is in preview. It may be changed/removed in a future release.\nMultiple items found. Please give native names instead.

Azure Backup
Azure Backup
An Azure backup service that provides built-in management at scale.
1,117 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,080 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Leon Laude 85,646 Reputation points
    2020-10-21T18:13:54.61+00:00

    Hi @Biswas, Amita ,

    As far as I know it's currently not possible to trigger an Azure Backup by using the IP address.

    ----------

    (If the reply was helpful please don't forget to upvote or accept as answer, thank you)

    Best regards,
    Leon