Re: [pve-devel] snapshot improvements

2012-09-26 Thread Stefan Priebe

Am 24.09.2012 10:50, schrieb Dietmar Maurer:

I tried to improve snapshot behavior a bit:

- take snapshot is now a background task (does not block monitor)

- try to save VM state while VM is online

So downtime during snapshot should be shorter now, especially if the VM
use much RAM.

Feel free to test and report bugs ;-)


Really great! Works pretty good - tested with todays git.

I also tried todo backups with snapshots but this doesn't seem to work:

INFO: starting new backup job: vzdump 100 --remove 0 --mode snapshot 
--compress lzo --storage backuplocal --node serv121

INFO: Starting Backup of VM 100 (qemu)
INFO: status = running
ERROR: Backup of VM 100 failed - no such volume 'Stor1:vm-100-disk-1'
INFO: Backup job finished with errors
TASK ERROR: job errors

Greets,
Stefan
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


Re: [pve-devel] snapshot improvements

2012-09-26 Thread Dietmar Maurer
> I also tried todo backups with snapshots but this doesn't seem to work:
> 
> INFO: starting new backup job: vzdump 100 --remove 0 --mode snapshot --
> compress lzo --storage backuplocal --node serv121
> INFO: Starting Backup of VM 100 (qemu)
> INFO: status = running
> ERROR: Backup of VM 100 failed - no such volume 'Stor1:vm-100-disk-1'
> INFO: Backup job finished with errors
> TASK ERROR: job errors

Yes, I need to implement that first.

The idea is that we do not backup any snapshot data. The vzdump would only 
include
the data of from the running instance. I guess that is OK?
 

___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


Re: [pve-devel] snapshot improvements

2012-09-26 Thread Alexandre DERUMIER
>>Yes, I need to implement that first. 

>>The idea is that we do not backup any snapshot data. The vzdump would only 
>>include 
>>the data of from the running instance. I guess that is OK? 
 
For me it's ok. 
I also don't think that all storage can export datas with snapshots inside.

rbd can export an image from a snapshot, nexenta and sheepdog too.









- Mail original - 

De: "Dietmar Maurer"  
À: "Stefan Priebe"  
Cc: pve-devel@pve.proxmox.com 
Envoyé: Jeudi 27 Septembre 2012 06:43:44 
Objet: Re: [pve-devel] snapshot improvements 

> I also tried todo backups with snapshots but this doesn't seem to work: 
> 
> INFO: starting new backup job: vzdump 100 --remove 0 --mode snapshot -- 
> compress lzo --storage backuplocal --node serv121 
> INFO: Starting Backup of VM 100 (qemu) 
> INFO: status = running 
> ERROR: Backup of VM 100 failed - no such volume 'Stor1:vm-100-disk-1' 
> INFO: Backup job finished with errors 
> TASK ERROR: job errors 

Yes, I need to implement that first. 

The idea is that we do not backup any snapshot data. The vzdump would only 
include 
the data of from the running instance. I guess that is OK? 


___ 
pve-devel mailing list 
pve-devel@pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel


Re: [pve-devel] snapshot improvements

2012-09-26 Thread Stefan Priebe - Profihost AG

Am 27.09.2012 06:43, schrieb Dietmar Maurer:

I also tried todo backups with snapshots but this doesn't seem to work:

INFO: starting new backup job: vzdump 100 --remove 0 --mode snapshot --
compress lzo --storage backuplocal --node serv121
INFO: Starting Backup of VM 100 (qemu)
INFO: status = running
ERROR: Backup of VM 100 failed - no such volume 'Stor1:vm-100-disk-1'
INFO: Backup job finished with errors
TASK ERROR: job errors


Yes, I need to implement that first.

The idea is that we do not backup any snapshot data. The vzdump would only 
include
the data of from the running instance. I guess that is OK?


But isn't the correct way to make a snapshot and then compress the 
snapshot? How can vzdump verify that the data integrity is fine?


Greets,
Stefan
___
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel