VMs can be directly backed up from the GUI.
Using the CLI
Using the Proxmox Backup Server
https://www.proxmox.com/en/proxmox-backup-server