{# R90.5 (Hani #1 2026-11-21): Proxmox VM backups - the ecosystem's RDS share becomes storage nexxvu- on the node (set up once with root), NEXXVU backs up the chosen VMs through its own API token, one at a time and followed live, and every archive is an inventory row (delete through Proxmox). Same card layout as the MikroTik Backup tab. R90.5.1 (Hani #1 2026-11-23): or a backup storage the node already has (an RDS share, a Synology, a Proxmox Backup Server...), left as it is - then Proxmox's listing is the only check ("storage not checked by NEXXVU"). #} {% macro tip(label, text) %}{{ text }}{% endmacro %} {% macro size(n) %}{% if n >= 1073741824 %}{{ (n / 1073741824)|round(1) }} GB{% elif n >= 1048576 %}{{ (n / 1048576)|round(1) }} MB{% elif n >= 1024 %}{{ (n / 1024)|round|int }} KB{% else %}{{ n }} B{% endif %}{% endmacro %} {% set B = backup_view %}{% set B_job = B.get('job') %}{% set B_last = B.get('last') %}{% set B_own = B.get('mode') == 'own' %}{% set B_ready = B.get('ready') %}{% set B_owns = B.get('own_storages') or [] %} {% set B_nexxvu_ok = B.storage and B.storage.state == 'verified' %} {% macro checked(c) %}✓ Proxmox {% if c == 'ok' %}✓ on the storage{% elif c == 'missing' %}✗ not found on the storage{% else %}storage not checked by NEXXVU{% endif %}{% endmacro %} {% macro target_options() %}
{{ tip("NEXXVU's backup storage", "Recommended. The ecosystem's share" ~ ((" " ~ B.storage.directory) if B_nexxvu_ok else "") ~ " on the backup storage: NEXXVU checks each archive in Proxmox's listing and finds the file with the same size on the disk itself." ~ ("" if B_nexxvu_ok else " None is working yet: Settings › Backups.")) }}
{% for o in B_owns %}
{{ tip(o.storage, "The node's own backup storage (" ~ o.type ~ (", " ~ size(o.total - o.used) ~ " free" if o.total and o.used is not none else "") ~ "), left exactly as it is - an RDS share, a Synology, a Proxmox Backup Server... NEXXVU cannot log in to it, so it checks each archive through Proxmox only: storage not checked by NEXXVU.") }}
{% else %}

The node has no other storage for backups (Proxmox › Datacenter › Storage; Verify the node after adding one).

{% endfor %} {% endmacro %}

Backup {{ fresh_tag("tools:proxmox-backup") }} {{ fresh_tag("tools:proxmox-backup-fix") }} {{ tip("Proxmox VM backups", "NEXXVU asks Proxmox for a snapshot backup (vzdump, zstd) of each VM you choose, one at a time, into this ecosystem's folder on the backup storage (Proxmox storage " ~ (B.storage_id or 'nexxvu-…') ~ "). The VMs keep running. Restore a VM from Proxmox itself: the node › storage " ~ (B.storage_id or 'nexxvu-…') ~ " › Backups › Restore.") }}

{% if not B.account %}

Not set up Choose where this node's VM backups go and set it up once (below).

{% elif B_own %}

Ready Saves to the node's own storage {{ B.account.storage }} on node {{ B.account.node }} · checked through Proxmox storage not checked by NEXXVU {{ tip("the check", "This storage is the node's own (set up in Proxmox), so NEXXVU cannot log in to it. NEXXVU starts each backup, follows it to the end and then sees the archive in Proxmox's listing of that storage; it cannot look at the disk itself. With NEXXVU's backup storage every archive is also found on the disk.") }}

{% elif not B_nexxvu_ok %}

Storage not working The ecosystem's backup storage is missing or did not pass its last check: Settings › Backups.

{% else %}

Ready Saves to {{ B.storage.directory }}/dump (Proxmox storage {{ B.account.storage }} on node {{ B.account.node }}) · checked twice: Proxmox and the storage{% if B.space and B.space.limit %} · backup storage: {{ size(B.space.used) }} of {{ (B.space.limit / 1000000000)|round|int }} GB used (all devices){% if B.space.warn %} over 80 %{% endif %}{% endif %}

{% endif %} {% if B.account %}{% endif %} {% if B_job %}{% with job=B_job %}{% include "_backup_job.html" %}{% endwith %}{% elif B_last and B_last.state == 'failed' %} {% endif %} {% if B_ready %} {% if B.guests %}{% set busy = B_job and B_job.state == 'running' %}{% set power_off = not B.get('can_power') or busy %}
VMs of this node {{ fresh_tag("tools:proxmox-vm-control") }}
Choose VMs below, then:
{% with fid="pve-guests", search_hint="VM name or number", filters=[(4, "State")], groups=[] %}{% include "_list_filter_bar.html" %}{% endwith %}
{% for g in B.guests %}{% set gone = g.status == 'deleted' %} {% set f_id = 'pve-power-' ~ g.vmid %}{% set up = g.status == 'running' %} {% endfor %}
VMNameTypeStateActions
{{ g.vmid }} {{ g.name or '-' }} {{ 'Container' if g.type == 'lxc' else 'VM' }} {% if g.status == 'running' %}running{% elif gone %}deleted{% else %}{{ g.status or '-' }}{% endif %}
Actions ▾
{% if not B.get('can_power') %}

One more right needed Add it ›

{% endif %}

Back up the chosen VMs {{ fresh_tag("tools:proxmox-backup-popup") }}

Where they go: {% if B_own %}{{ B.account.storage }} the node's own storage storage not checked by NEXXVU{% else %}NEXXVU's backup storage {{ B.storage.directory if B.storage else '' }}/dump checked twice{% endif %}

Change where backups go
Where the VM backups go {{ target_options() }}

Delete the chosen VMs {{ fresh_tag("tools:proxmox-vm-delete") }}

Only stopped VMs. Proxmox removes each VM and its disks for good; its backups stay in the Inventory below.

{% if not B.get('can_delete') %}

One more right needed {{ fresh_tag("tools:proxmox-delete-right") }} NEXXVU's token may not delete VMs yet. Enter the node's root password: NEXXVU adds the VM.Allocate right once, then deletes. The storage stays the same; root is used once, never stored.

{% endif %}
{% for g in B.guests %}{% endfor %} {% else %}{% endif %} {% endif %}

Inventory {{ tip("the inventory", "Every VM archive NEXXVU made of this node. Checked: Proxmox lists it, and (on NEXXVU's backup storage) NEXXVU found the file with the same size on the disk. Delete removes it through Proxmox and here together. Restore from Proxmox: the node › storage › Backups.") }}

{% if B.inventory %}
{% for b in B.inventory %}{% endfor %}
VMArchiveSaved (UTC)SizeCheckedActions
{{ b.vmid }} {{ b.file_name }} {{ b.created_at|replace('T', ' ')|replace('Z', '') }} {{ size(b.size_bytes) }} {{ checked(b.get('storage_check')) }}
Actions ▾
{% else %}{% endif %}
Where the VM backups go {{ fresh_tag("tools:proxmox-own-storage") }} {% if B.account %}{{ B.account.storage }} {{ B.account.token_id }}{% else %}not set up{% endif %} {% if not B.tools %}

Root SSH needed Add the node's root SSH for Tools first (the same as for Tools › Updates).

{% else %}

Once, with the node's root account {{ tip("the set-up", "NEXXVU makes its own API token nexxvu-bkp@pve with VM.Backup, VM.Audit and VM.PowerMgmt (start and stop) on the VMs and space on the chosen storage - nothing else. With NEXXVU's backup storage it also adds the ecosystem's share as Proxmox storage " ~ (B.storage_id or 'nexxvu-…') ~ " (backups only; Proxmox's own pruning off - NEXXVU's rules clean up) and puts the share's password only into Proxmox's private credential file. A storage the node already has is not changed at all. The root password is used once and never stored.") }}

Where the VM backups go {{ target_options() }}

Used once and then discarded; never stored.

{% if B.account %}{% endif %}
{% endif %}