Backup of VM 100 failed - unable to create temporary directory

bandito007

New Member
Aug 30, 2020
2
1
1
36
Hi, i'm new in the Proxmox family.
I have two ext. USB drive 8TB linked to the Proxmox Server with following manual: Simple Backup Method to USB drive https://forum.proxmox.com/threads/simple-backup-method-to-usb-drive.21294/post-260817

Failure1.PNG
Failure2.PNG
Now I can see the usb drive in the GUI, before, i had some troubles. When I like to backup the VM's the following error appears:

Stopp
INFO: starting new backup job: vzdump 100 --mode snapshot --node ServerHP290 --compress zstd --remove 0 --storage backup_sde_open
command 'df -P -T -B 1 /mnt/backup_sde_open/dump' failed: exit code 1
ERROR: Backup of VM 100 failed - unable to create temporary directory '/mnt/backup_sde_open/dump/vzdump-qemu-100-2020_08_30-12_17_38.tmp' at /usr/share/perl5/PVE/VZDump.pm line 765.
INFO: Failed at 2020-08-30 12:17:38
INFO: Backup job finished with errors
TASK ERROR: job errors

I have read it should be something with the NFS permission. I have no idea how to fix it. Somebody can help me please?
Because i'm a beginner, step by step instructions would be very helpful :)
 
Yes it worked:

INFO: starting new backup job: vzdump 105 --compress lzo --node ServerHP290 --storage backup_sdd_next --mode snapshot --remove 0
INFO: Starting Backup of VM 105 (lxc)
INFO: Backup started at 2020-08-30 15:01:33
INFO: status = running
INFO: CT Name: nextcloud1
INFO: including mount point rootfs ('/') in backup
INFO: excluding volume mount point mp0 ('/mnt/hdd') from backup (disabled)
INFO: backup mode: snapshot
INFO: bandwidth limit: 1000000 KB/s
INFO: ionice priority: 7
INFO: create storage snapshot 'vzdump'
Logical volume "snap_vm-105-disk-0_vzdump" created.
INFO: creating vzdump archive '/mnt/backup_sdd_next/dump/vzdump-lxc-105-2020_08_30-15_01_33.tar.lzo'
INFO: Total bytes written: 2497904640 (2.4GiB, 132MiB/s)
INFO: archive file size: 1.19GB
INFO: remove vzdump snapshot
Logical volume "snap_vm-105-disk-0_vzdump" successfully removed
INFO: Finished Backup of VM 105 (00:00:19)
INFO: Backup finished at 2020-08-30 15:01:52
INFO: Backup job finished successfully
TASK OK

I had to edit the /etc/vzdump.conf like:
https://pve.proxmox.com/pve-docs/vzdump.1.html

tmpdir: /mnt/backup_sdd_next/
dumpdir: /mnt/backup_sdd_next/dump
storage: backup_sdd_next
mode: snapshot
bwlimit: 1000000
 
  • Like
Reactions: Dominic
Note that you can also specify the tmpdir and dumpdir parameters for a single vzdump call. Did you change to LZO in the new job for a specific reason?