Slow backup on Proxmox using vzdump

I was recently attempting to backup one of our Proxmox VE’s using OpenVZ’s backup tool ‘vzdump’. In the past when using vzdump, a complete backup of a 100GB VE, for example could be obtained in under and hour or so. This time however, after leaving the process running and returning several hours later, the .tar file was a mere 2.3GB in size.

At first I thought that there might be an issue with one or more nodes in the shared storage cluster, so I decided I would direct vzdump to store the .tar file on one of the server’s local partitions instead. Once again I started the backup, returned several hours later, only to find a file similar in size to the previous one.

Next I decided I would attempt to ‘tar up’ the contents of the VE up manually, that combined with the ‘nohup’ command would allow me to find out at what point this whole process was stalling.

As it turns out, I had thousands of files in my ‘/var/spool/postfix/incoming/’ directory on that VE, and although almost every single file in that directory was small, and the overall directly size was not large at all, the result was that file operations inside that folder had come to a screeching halt.

Luckily for me, I knew for a fact that we did not need any of these particular email messages, so I was simply able to delete the ‘incoming’ folder and then recreate it once all the files had been removed, after that, vzdump was once again functioning as expected.

3 thoughts on “Slow backup on Proxmox using vzdump

  1. Martin

    When you say “one of our Proxmox VE’s,” are you saying NPR is using Proxmox? Just curious, as I’ve used Proxmox myself for two years now and find it as good as, if not better than VMware’s offerings.

  2. shainmiley Post author

    NPR currently has a 10 node Proxmox cluster that has been up and running for about 2 years. We have a mix of development and production VE’s using this setup and we plan to setup an additional 3 to 5 node cluster for diasater recovery purposes later in the year. So far we have been very pleased with the performance and ease of use that has come with Proxmox…and we are really looking forward to getting our hands on Proxmox 2.x.

  3. Martin


    As a frequent listener to NPR, that makes me smile. I’m with you on looking forward to 2.x. I want to try out Sheepdog. 2.x looks to be a killer release.

Leave a Reply

Your email address will not be published. Required fields are marked *