It can be backed up before it is converted to a template. After the conversion, there will be "KVM: the device is not writable: permission denied"
Code:
INFO: starting new backup job: vzdump 106 --mailnotification always --storage pbs01 --node pve --mode snapshot --quiet 1 --all 0
INFO: Starting Backup of VM 106 (qemu)
INFO: Backup started at 2021-04-01 18:07:26
INFO: status = running
INFO: VM Name: efi-alpine
INFO: include disk 'scsi0' 'local-lvm-thin:vm-106-disk-0' 4G
INFO: include disk 'efidisk0' 'local-lvm-thin:vm-106-disk-1' 4M
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: creating Proxmox Backup Server archive 'vm/106/2021-04-01T10:07:26Z'
INFO: started backup task '108b681f-7d2e-4312-ac80-13a18a2c180e'
INFO: resuming VM again
INFO: efidisk0: dirty-bitmap status: created new
INFO: scsi0: dirty-bitmap status: created new
INFO: 42% (1.7 GiB of 4.0 GiB) in 3s, read: 577.3 MiB/s, write: 30.7 MiB/s
INFO: 45% (1.8 GiB of 4.0 GiB) in 6s, read: 49.3 MiB/s, write: 49.3 MiB/s
INFO: 48% (1.9 GiB of 4.0 GiB) in 9s, read: 37.3 MiB/s, write: 37.3 MiB/s
INFO: 50% (2.0 GiB of 4.0 GiB) in 12s, read: 25.3 MiB/s, write: 25.3 MiB/s
INFO: 53% (2.2 GiB of 4.0 GiB) in 15s, read: 45.3 MiB/s, write: 45.3 MiB/s
INFO: 57% (2.3 GiB of 4.0 GiB) in 18s, read: 45.3 MiB/s, write: 45.3 MiB/s
INFO: 61% (2.5 GiB of 4.0 GiB) in 21s, read: 57.3 MiB/s, write: 45.3 MiB/s
INFO: 100% (4.0 GiB of 4.0 GiB) in 24s, read: 528.0 MiB/s, write: 30.7 MiB/s
INFO: backup is sparse: 3.09 GiB (77%) total zero data
INFO: backup was done incrementally, reused 3.09 GiB (77%)
INFO: transferred 4.00 GiB in 24 seconds (170.7 MiB/s)
INFO: Finished Backup of VM 106 (00:00:25)
INFO: Backup finished at 2021-04-01 18:07:51
INFO: Backup job finished successfully
TASK OK
Code:
INFO: starting new backup job: vzdump 106 --mode snapshot --all 0 --quiet 1 --mailnotification always --storage pbs01 --node pve
INFO: Starting Backup of VM 106 (qemu)
INFO: Backup started at 2021-04-01 18:09:09
INFO: status = stopped
INFO: backup mode: stop
INFO: ionice priority: 7
INFO: VM Name: efi-alpine
INFO: include disk 'scsi0' 'local-lvm-thin:base-106-disk-0' 4G
INFO: include disk 'efidisk0' 'local-lvm-thin:base-106-disk-1' 4M
INFO: creating Proxmox Backup Server archive 'vm/106/2021-04-01T10:09:09Z'
INFO: starting kvm to execute backup task
kvm: The device is not writable: Permission denied
ERROR: Backup of VM 106 failed - start failed: QEMU exited with code 1
INFO: Failed at 2021-04-01 18:09:13
INFO: Backup job finished with errors
TASK ERROR: job errors