Backup Problem

SaNkA

New Member
Nov 5, 2008
16
0
1
Hi guys,
I have some problem with the new backup feature on proxmox.
I scheduled backups with snapshot mode every morning at 5:00 am and it's the second time that the server is totally frozen. I can't do anything, i can just switch off the server with the button.
I haven't got anything on the logs. So... if anyone have the same problem or solution, tell me what ;)
 
Last edited:
Hi guys,
I have some problem with the new backup feature on proxmox.
I scheduled backups with snapshot mode every morning at 5:00 am and it's the second time that the server is totally frozen. I can't do anything, i can just switch off the server with the button.
I have nothing on the logs. So... if anyone have the same problem or solution, tell me what ;)


  1. how many gig´s do you backup?
  2. KVM or OpenVZ containers or both?
  3. where is you backup location? local or remote?
 
- how many gig´s do you backup? : 2 of 32Gb and 1 of 64Gb

- KVM or OpenVZ containers or both? : KVM

- where is you backup location? local or remote? : Local


Since the backup feature is enabled, it failed 2 times and 3 times it works...

Thanks for the quick reply :)
 
Last edited:
try to run vzdump manually to see what happens

(see /etc/cron.d/vzdump what command gets executed)

- Dietmar
 
yes, i have enough space :)

how big is your root partition, by default it is maximum 100 GB which is to small in your case.
 
My root partition is 33Gb but the backup files are 14Gb so i have enough space.

and again, where is the backup location? local, but which path?
 
i have made a directory called "backup" on /root

But i think it's not the problem because the backup works fine in most of time...
 
Last edited:
i have made a directory called "backup" on /root

But i think it's not the problem because the backup works fine in most of time...

Maybe en temp file problem, even if you tar'ed the backup file maybe you got not enough space at some moments...

Try to install monitoring tool like Cacti/Munin/Mrtg to take an history of your disk space...
 
I already have a Nagios server that monitors my disk space and on the graphs, on the backup period, the root partition is not full.

Edit: I have to go so I will tell you tomorrow how the next backup happened

Thanks again :)
 
Last edited:
Hi guys!
This morning the backup was successful. No problems.
So, I don't know why some days it doesn't work ...
 
there are 3 log files on /var/log/vzdump : 101.log, 102.log, 103.log

101.log :
Code:
Nov 06 05:00:02 INFO: Starting Backup of VM 101 (qemu)
Nov 06 05:00:02 INFO: status = running
Nov 06 05:00:02 INFO: creating lvm snapshot of /dev/mapper/pve-data ('/dev/pve/vzsnap')
Nov 06 05:00:02 INFO:   Logical volume "vzsnap" created
Nov 06 05:00:02 INFO: mounting lvm snapshot
Nov 06 05:00:04 INFO: creating archive '/backup/vzdump-101.dat' (/mnt/vzsnap/images/101)
Nov 06 05:00:04 INFO: qemu-server.conf
Nov 06 05:00:04 INFO: vm-101-disk.qcow2
Nov 06 05:11:28 INFO: Total bytes written: 8761548800 (8.2GiB, 13MiB/s)
Nov 06 05:11:28 INFO: file size 2.36GB
Nov 06 05:11:33 INFO:   Logical volume "vzsnap" successfully removed
Nov 06 05:11:33 INFO: Finished Backup of VM 101 (00:11:31)

No emails but i can enable it.
 
This morning, the email after the backup :

Code:
 Detailed backup logs:
   vzdump --quiet --snapshot --compress --dumpdir /backup --mailto [U]sanka@xxxxxx.fr[/U] --all
101: Nov 07 05:00:01 INFO: Starting Backup of VM 101 (qemu)
101: Nov 07 05:00:02 INFO: status = running
101: Nov 07 05:00:02 INFO: creating lvm snapshot of /dev/mapper/pve-data ('/dev/pve/vzsnap')
101: Nov 07 05:00:02 INFO:   Logical volume "vzsnap" created
101: Nov 07 05:00:02 INFO: mounting lvm snapshot
101: Nov 07 05:00:04 INFO: creating archive '/backup/vzdump-101.dat' (/mnt/vzsnap/images/101)
101: Nov 07 05:00:04 INFO: qemu-server.conf
101: Nov 07 05:00:04 INFO: vm-101-disk.qcow2
101: Nov 07 05:10:37 INFO: Total bytes written: 8793456640 (8.2GiB, 14MiB/s)
101: Nov 07 05:10:37 INFO: file size 2.36GB
101: Nov 07 05:10:41 INFO:   Logical volume "vzsnap" successfully removed
101: Nov 07 05:10:41 INFO: Finished Backup of VM 101 (00:10:40) 

102: Nov 07 05:10:41 INFO: Starting Backup of VM 102 (qemu)
102: Nov 07 05:10:42 INFO: status = running
102: Nov 07 05:10:42 INFO: creating lvm snapshot of /dev/mapper/pve-data ('/dev/pve/vzsnap')
102: Nov 07 05:10:42 INFO:   Logical volume "vzsnap" created
102: Nov 07 05:10:42 INFO: mounting lvm snapshot
102: Nov 07 05:10:44 INFO: creating archive '/backup/vzdump-102.dat' (/mnt/vzsnap/images/102)
102: Nov 07 05:10:44 INFO: qemu-server.conf
102: Nov 07 05:10:44 INFO: vm-102-disk.qcow2
102: Nov 07 05:19:16 INFO: Total bytes written: 4767334400 (4.5GiB, 8.9MiB/s)
102: Nov 07 05:19:16 INFO: file size 2.38GB
102: Nov 07 05:19:20 INFO:   Logical volume "vzsnap" successfully removed
102: Nov 07 05:19:20 INFO: Finished Backup of VM 102 (00:08:39) 

103: Nov 07 05:19:20 INFO: Starting Backup of VM 103 (qemu)
103: Nov 07 05:19:21 INFO: status = running
103: Nov 07 05:19:21 INFO: creating lvm snapshot of /dev/mapper/pve-data ('/dev/pve/vzsnap')
103: Nov 07 05:19:21 INFO:   Logical volume "vzsnap" created
103: Nov 07 05:19:21 INFO: mounting lvm snapshot
103: Nov 07 05:19:22 INFO: creating archive '/backup/vzdump-103.dat' (/mnt/vzsnap/images/103)
103: Nov 07 05:19:22 INFO: qemu-server.conf
103: Nov 07 05:19:22 INFO: vm-103-disk.qcow2
103: Nov 07 05:24:04 INFO: Total bytes written: 3302113280 (3.1GiB, 12MiB/s)
103: Nov 07 05:24:04 INFO: file size 1.46GB
103: Nov 07 05:24:08 INFO:   Logical volume "vzsnap" successfully removed
103: Nov 07 05:24:08 INFO: Finished Backup of VM 103 (00:04:48)
Theses days everything goes right. So if the server goes down later, i will be back :p

Thanks for all guys. You have done a great work!
 
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!