Hello to everyone,
i am still testing Proxmox to use it as the main virtualizer in our small company. To give it a try, i have installed my 2 physical "servers" at home (debian machines with some services) as virtual machines on a more powerful pc with Proxmox 7 underneath (pveversion attachend). Both guests have the Qemu Guest Agent turned on with the "Guest-trim" option active. Now i am struggling with the backup of my guest-machines.
The documentation is very good and straight forward to understand. I used this site to setup the basics: Backup and Restore. I tried different backup methods (stop, suspend and snapshot) and use the main storage as the backup-target for now, but the result is always the same: The backup only works fine when the guests are down! When the guests are running, the backup-process tears them down and isn't able to start them up again, which i fear will end up with the loss of data when virtualizing productive servers.
I created a very small test-system (Debian 11 with a 4 GB Harddrive) and the backup works fine. To be as near as possible to our reallife-servers, i set up my home machines with 4 TB harddrives. Perhaps that's the reason why i get a timeout. How can i "borrow more time" for the process?
Here you can see what happens when the backup-process runs:
Thanks for your help
furby
i am still testing Proxmox to use it as the main virtualizer in our small company. To give it a try, i have installed my 2 physical "servers" at home (debian machines with some services) as virtual machines on a more powerful pc with Proxmox 7 underneath (pveversion attachend). Both guests have the Qemu Guest Agent turned on with the "Guest-trim" option active. Now i am struggling with the backup of my guest-machines.
The documentation is very good and straight forward to understand. I used this site to setup the basics: Backup and Restore. I tried different backup methods (stop, suspend and snapshot) and use the main storage as the backup-target for now, but the result is always the same: The backup only works fine when the guests are down! When the guests are running, the backup-process tears them down and isn't able to start them up again, which i fear will end up with the loss of data when virtualizing productive servers.
I created a very small test-system (Debian 11 with a 4 GB Harddrive) and the backup works fine. To be as near as possible to our reallife-servers, i set up my home machines with 4 TB harddrives. Perhaps that's the reason why i get a timeout. How can i "borrow more time" for the process?
Here you can see what happens when the backup-process runs:
Code:
root@virt-base:~# vzdump 105 --compress 0 --mode snapshot --storage Daten --node virt-base
INFO: starting new backup job: vzdump 105 --storage Daten --compress 0 --node virt-base --mode snapshot
INFO: Starting Backup of VM 105 (qemu)
INFO: Backup started at 2021-11-03 04:40:57
INFO: status = running
INFO: VM Name: Test-Debian11-Docker
INFO: include disk 'scsi0' 'Daten:105/vm-105-disk-0.raw' 4T
INFO: backup mode: snapshot
INFO: ionice priority: 7
INFO: creating vzdump archive '/Daten/dump/vzdump-qemu-105-2021_11_03-04_40_57.vma'
INFO: issuing guest-agent 'fs-freeze' command
INFO: issuing guest-agent 'fs-thaw' command
ERROR: VM 105 qmp command 'guest-fsfreeze-thaw' failed - got timeout
INFO: started backup task 'b2439da6-8357-4e13-89c2-4088f9cc7a2c'
INFO: resuming VM again
ERROR: VM 105 qmp command 'cont' failed - got timeout
INFO: aborting backup job
ERROR: VM 105 qmp command 'backup-cancel' failed - client closed connection
INFO: resuming VM again
ERROR: Backup of VM 105 failed - VM 105 not running
INFO: Failed at 2021-11-03 04:41:29
INFO: Backup job finished with errors
job errors
Thanks for your help
furby