Backup problem

Henry

Member
Jan 1, 2016
83
0
6
51
I have 3 1Tb USB hdd that the nightly backup works well with. So as to have one backup per night I purchased 4 more, the new ones are 2Tb.

The backup will only work with the 1Tb disks, the new disks cause the backup to fail. With the new disks the CTs backup fine but the VMs fail.


INFO: starting new backup job: vzdump 1016 1017 --script /root/backup.sh --mailto henry@mydomain.com --mode snapshot --mailnotification always --storage external-hdd --quiet 1 --compress lzo
INFO: External hard drive successfully mounted
command 'df -P -T -B 1 /mnt/external-hdd/dump' failed: exit code 1
ERROR: Backup of VM 1016 failed - unable to create temporary directory '/mnt/external-hdd/dump/vzdump-qemu-1016-2016_06_09-11_15_02.tmp' at /usr/share/perl5/PVE/VZDump.pm line 815.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/PVE/VZDump.pm line 679.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/PVE/VZDump.pm line 679.
command 'df -P -T -B 1 /mnt/external-hdd/dump' failed: exit code 1
Use of uninitialized value in string eq at /usr/share/perl5/PVE/VZDump.pm line 803.
Use of uninitialized value in string eq at /usr/share/perl5/PVE/VZDump.pm line 803.
Use of uninitialized value in string eq at /usr/share/perl5/PVE/VZDump.pm line 803.
Use of uninitialized value in string eq at /usr/share/perl5/PVE/VZDump.pm line 803.
Use of uninitialized value in string eq at /usr/share/perl5/PVE/VZDump.pm line 803.
Use of uninitialized value in string eq at /usr/share/perl5/PVE/VZDump.pm line 803.
Use of uninitialized value in concatenation (.) or string at /usr/share/perl5/PVE/VZDump.pm line 808.
INFO: filesystem type on dumpdir is '' -using /var/tmp/vzdumptmp3710 for temporary files
INFO: Starting Backup of VM 1017 (lxc)
INFO: status = running
INFO: mode failure - some volumes do not support snapshots
INFO: trying 'suspend' mode instead
INFO: backup mode: suspend
INFO: ionice priority: 7
INFO: starting first sync /proc/29669/root// to /var/tmp/vzdumptmp3710
INFO: Number of files: 24,246 (reg: 18,943, dir: 2,298, link: 2,973, dev: 2, special: 30)
INFO: Number of created files: 24,245 (reg: 18,943, dir: 2,297, link: 2,973, dev: 2, special: 30)
INFO: Number of deleted files: 0
INFO: Number of regular files transferred: 18,928
INFO: Total file size: 717,357,757 bytes
INFO: Total transferred file size: 713,268,856 bytes
INFO: Literal data: 713,268,856 bytes
INFO: Matched data: 0 bytes
INFO: File list size: 589,771
INFO: File list generation time: 0.001 seconds
INFO: File list transfer time: 0.000 seconds
INFO: Total bytes sent: 714,925,736
INFO: Total bytes received: 382,116
INFO: sent 714,925,736 bytes received 382,116 bytes 95,374,380.27 bytes/sec
INFO: total size is 717,357,757 speedup is 1.00
INFO: first sync finished (8 seconds)
INFO: suspend vm
INFO: starting final sync /proc/29669/root// to /var/tmp/vzdumptmp3710
INFO: Number of files: 24,246 (reg: 18,943, dir: 2,298, link: 2,973, dev: 2, special: 30)
INFO: Number of created files: 0
INFO: Number of deleted files: 0
INFO: Number of regular files transferred: 0
INFO: Total file size: 717,357,757 bytes
INFO: Total transferred file size: 0 bytes
INFO: Literal data: 0 bytes
INFO: Matched data: 0 bytes
INFO: File list size: 65,536
INFO: File list generation time: 0.001 seconds
INFO: File list transfer time: 0.000 seconds
INFO: Total bytes sent: 671,528
INFO: Total bytes received: 2,448
INFO: sent 671,528 bytes received 2,448 bytes 1,347,952.00 bytes/sec
INFO: total size is 717,357,757 speedup is 1,064.37
INFO: final sync finished (0 seconds)
INFO: resume vm
INFO: vm is online again after 0 seconds
INFO: creating archive '/mnt/external-hdd/dump/vzdump-lxc-1017-2016_06_09-11_15_02.tar.lzo'
INFO: Total bytes written: 755435520 (721MiB, 101MiB/s)
INFO: archive file size: 418MB
INFO: Finished Backup of VM 1017 (00:00:17)
INFO: External hard drive unmounted
INFO: Backup job finished with errors
TASK ERROR: job errors
 
Seems there was an error creating /mnt/external-hdd/dump. Does it work if you try again?
 
It appears that I need to run a backup via the GUI first on the new HDD before the scheduled backup will work...?

I will test this overnight and advise.
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!