Skip to main content

Get started

What you need​

  • A Vinera account and a Protect workspace with the Azure module. Your Vinera contact opens the workspace and turns on the Azure module. You then sign in at https://protect.onevinera.com with your Vinera account.
  • Someone with Owner or User Access Administrator on each subscription you want to protect. They create the app registration and assign its role. Vinera Protect never runs these steps for you.
  • The subscription IDs you want to protect.

Step 1: Prepare Azure​

Vinera Protect connects through an app registration (service principal) that you own, with a least-privilege custom role on the subscription. The role has no data-plane actions, cannot write role assignments and needs no Entra directory roles. It can create disks, network interfaces and VMs, because restores need to.

The easiest way is the script in the console:

  1. In the console, open Settings > Cloud Accounts, click Connect wizard and choose Use this connection's own service principal.
  2. Expand Customer-side preparation and click Copy script.
  3. Have the subscription Owner paste the script into Azure Cloud Shell (Bash), set the subscription ID on its first lines and run it. The script:
    1. registers the resource providers;
    2. creates an app registration, its service principal and a client secret, with no role yet;
    3. creates (or updates) the custom role, scoped to your subscription;
    4. assigns the role to the service principal on that subscription.
  4. Note the tenantId, clientId and clientSecret the script prints. The secret is shown only once.

If you prefer to do it yourself, click Required permissions on the Cloud Accounts tab. It lists every action the role contains and what it is used for, per workload, and lets you Copy role JSON or Download it. If you protect only some workloads, you can grant the Common actions plus those workloads only.

Resource providers to register on the subscription:

WorkloadResource providers
All workloadsMicrosoft.Resources, Microsoft.Authorization
Azure VMMicrosoft.Compute, Microsoft.Network
Azure FilesMicrosoft.Storage
Cosmos DBMicrosoft.DocumentDB

Step 2: Connect your subscription​

  1. Open Settings > Cloud Accounts and click Connect wizard.
  2. Credentials: choose Use this connection's own service principal and enter the Tenant ID (Directory ID), Application (client) ID and Client secret of your app registration. The secret is stored securely, is never written to a database or a log, and is never shown again.
  3. Subscriptions: select the subscriptions to connect. You see every subscription the app can access. A subscription that is already connected by another organization, already connected here, or disabled cannot be selected.
  4. Regions: check the regions where your resources are.
  5. Permission check: the console checks, per workload, whether the role has every action it needs and whether the resource providers are registered. If something is missing, use Configure role for the role JSON and the commands to fix it, then run Check permissions again from the Cloud Accounts list.
  6. Summary: click Connect to create the connections. Each subscription becomes its own cloud connection.

To add more subscriptions for the same app later, use Add subscription on its row. Check now re-tests a connection at any time.

Step 3: Check what was discovered​

Open Resources. Virtual machines, Azure Files shares and Cosmos DB accounts from your connected subscriptions are listed with their resource group, region and protection state. Discovery runs daily; click Rescan to run it now.

Step 4: Create your first policy​

  1. Open Backup Policies and click New Policy.

  2. Choose the workload type: Azure VM, Cosmos DB or Azure Files. The type cannot be changed later.

  3. Policy Details: enter a name and, optionally, a description.

  4. Source: choose the cloud connection and the regions, then select resources one by one or by rule (subscription, resource group, tag or region), and add exclusions. For VMs, you can exclude individual disks.

  5. Protection: pick an SLA template. Each workload has built-in Gold, Silver and Bronze templates, or click + Create custom template to set your own rules:

    • daily, every 15, 20 or 30 minutes or every 1, 2, 4, 6, 8, 12 or 24 hours;
    • weekly on the weekdays you choose;
    • monthly on a day of the month or its nth weekday;
    • yearly in the months you choose.

    Each rule keeps its restore points for its own number of days, weeks, months or years. Times are in the template's time zone. For Cosmos DB, choose the 7-day or 30-day continuous tier instead.

  6. Review & Defaults: turn on Configure advanced settings to open the optional steps, such as Guest Processing for application-consistent VM backups and Snapshot settings. Leave it off to finish with the defaults.

  7. Click Create Policy.

A failed scheduled backup is retried automatically: by default up to 3 times, 15 minutes apart. Only the failed resources are retried.

Step 5: Run a backup​

On Backup Policies, click Run Backup on your policy. Follow the run on Sessions, which shows every step, with warnings and errors. When it finishes, the resource appears on Protected Data with its restore points.

Step 6: Restore​

We recommend a test restore on day one, so you know it works before you need it.

Restore a virtual machine​

  1. Open Protected Data, find the VM and open its Restore menu.
  2. Choose Entire VM or disk restore.
  3. Restore point: pick a restore point. Backup Destination shows whether it is a Vault backup (a copy in Vinera backup storage) or a Snapshot (the latest snapshot in your subscription). The Restore reason is filled in for you; change it if you like. It is saved with the restore.
  4. Restore mode: choose Entire VM or VM disks only, then Original location or New location with different settings.
  5. Settings: for a new location, set the subscription (through its cloud connection), resource group, VM name, size, zone, virtual network, subnet and network security group.
  6. Summary: check the result of the validation, then click Restore.

For a first test, restore into a new resource group so the source VM is not touched.

Restore files from Azure Files​

  1. Open File-Level Recovery (Azure Files), select the share and click File-Level Recovery.
  2. Pick a restore point and choose Restore to the original location or Restore to new location with different settings.
  3. In the explorer, browse the snapshot, add files and folders to the restore list, choose Keep or Overwrite, and restore. Or select one file and click Download.

Restore a Cosmos DB account​

  1. Open Protected Data, find the account and choose Point-in-Time restore from its Restore menu.
  2. Pick the date and time, or choose an event from the event feed.
  3. Choose the destination resource group and region, and the new account name.
  4. Choose Entire Cosmos DB account or Selected items, then start the restore.

Restore progress shows on Sessions, and every restore is recorded on Audit.

Learn more​