vzdump hook (move backups)

jamenjo

New Member
Apr 6, 2022
1
0
1
Hello,

I have the following situation:
TrueNAS is running as a VM on my Proxmox server.
All the other VMs are backed up directly to a NFS share of that TrueNAS VM, which is mounted in Proxmox.
Obviously I can't backup TrueNAS itself to its own share, so it gets backed up to local storage.

I read I could use a vzdump hook to move those backups manually.
Implemented a dummy script which just echos the backup phase.
Works as intended.
But when I try to move the files, the process freezes and I have to kill it manually.

Then I tried to move the files manually with the following command:
Code:
mv /var/lib/vz/dump/vzdump-qemu-103* /mnt/pve/nfs_truenas_backup/dump/

Also here the process freezes and at some point the file size on the share doesn't increase anymore.
I have to kill it manually.

How could I find out what's happening here?
Backing up the other ~10 VMs directly to the NFS share works perfectly fine.

Thanks in advance for your time!