Hi community, recently my VM backup script needs hours for a backup. One VM is backed up within 30 minutes, the other VM takes tens of hours, with the script seemingly pausing. Here's a snippet from the log file. Anyone have any idea what happens between 10pm and almost 6am?
2021-07-26 21:40:24 information: copy of backup of /mnt/user/Backup-VM/Server 2019/20210724_1234_server2019.img vdisk to /mnt/user/Backup-VM/Server 2019/20210726_2140_server2019.img starting.
2021-07-26 22:49:36 information: copy of /mnt/user/Backup-VM/Server 2019/20210724_1234_server2019.img to /mnt/user/Backup-VM/Server 2019/20210726_2140_server2019.img complete.
2021-07-26 22:49:36 information: extension for /mnt/user/isos/windows_2019_Server.iso on Server 2019 was found in vdisks_extensions_to_skip. skipping disk.
2021-07-26 22:49:36 information: extension for /mnt/user/isos/virtio-win-0.1.190-1.iso on Server 2019 was found in vdisks_extensions_to_skip. skipping disk.
2021-07-26 22:49:36 information: skip_vm_shutdown is false. beginning vm shutdown procedure.
2021-07-26 22:49:36 infomration: Server 2019 is running. vm desired state is shut off.
2021-07-26 22:49:43 information: performing 20 30 second cycles waiting for Server 2019 to shutdown cleanly.
2021-07-26 22:49:43 information: cycle 1 of 20: waiting 30 seconds before checking if the vm has entered the desired state.
2021-07-26 22:50:13 information: Server 2019 is shut off. vm desired state is shut off. can_backup_vm set to y.
2021-07-26 22:50:13 information: actually_copy_files is 1.
2021-07-26 22:50:13 information: can_backup_vm flag is y. starting backup of Server 2019 configuration, nvram, and vdisk(s).
2021-07-26 22:50:13 information: copy of Server 2019.xml to /mnt/user/Backup-VM/Server 2019/20210726_2140_Server 2019.xml complete.
2021-07-26 22:50:13 information: copy of /etc/libvirt/qemu/nvram/dec2ff71-7e5e-7cd2-e5b3-b5e22cdc9a06_VARS-pure-efi.fd to /mnt/user/Backup-VM/Server 2019/20210726_2140_dec2ff71-7e5e-7cd2-e5b3-b5e22cdc9a06_VARS-pure-efi.fd complete.
2021-07-27 05:57:02 information: copy of /mnt/disk1/domains/Server 2019/server2019.img to /mnt/user/Backup-VM/Server 2019/20210726_2140_server2019.img complete.
2021-07-27 05:57:06 information: backup of /mnt/disk1/domains/Server 2019/server2019.img vdisk to /mnt/user/Backup-VM/Server 2019/20210726_2140_server2019.img complete.
2021-07-27 05:57:06 information: extension for /mnt/user/isos/windows_2019_Server.iso on Server 2019 was found in vdisks_extensions_to_skip. skipping disk.
2021-07-27 05:57:06 information: extension for /mnt/user/isos/virtio-win-0.1.190-1.iso on Server 2019 was found in vdisks_extensions_to_skip. skipping disk.
2021-07-27 05:57:06 information: the extensions of the vdisks that were backed up are img.
2021-07-27 05:57:06 information: vm_state is running. vm_original_state is running. not starting Server 2019.
2021-07-27 05:57:06 information: backup of Server 2019 to /mnt/user/Backup-VM/Server 2019 completed.
2021-07-27 05:57:06 information: number of days to keep backups set to indefinitely.
2021-07-27 05:57:06 information: cleaning out backups over 2 in location /mnt/user/Backup-VM/Server 2019/
2021-07-27 05:57:06 information: did not find any config files to remove.
2021-07-27 05:57:06 information: did not find any nvram files to remove.
2021-07-27 05:57:06 information: did not find any vdisk image files to remove.
2021-07-27 05:57:06 information: did not find any vm log files to remove.