Comprehensive data protection for all workloads
Post Reply
matthieu178
Novice
Posts: 5
Liked: never
Joined: Aug 08, 2011 9:59 am
Full Name: Matthieu Hegerle
Contact:

Snapshot Creation

Post by matthieu178 »

Hi,
I'm currently using Veeam Backup And Replication 5.0.2, and I need some help after a machine crash.

If I understood correctly, veeam creates a snapshot and makes a backup of it.
But does it compress the snapshot or must there be at least the size of the virtual machine on the disk in order to back it up with veeam?
Thank you very much for your help to come
foggy
Veeam Software
Posts: 21139
Liked: 2141 times
Joined: Jul 11, 2011 10:22 am
Full Name: Alexander Fogelson
Contact:

Re: Snapshot Creation

Post by foggy » 1 person likes this post

Hi, Matthieu.

I think here is a misunderstanding of the whole snapshot technology. When snapshot is created, it has a zero size. As VM starts to write to this brand new snapshot vmdk file, it grows in size but not very quickly (depending on the VM's activity) and of course cannot grow larger than the original vmdk (which is left intact allowing third-party apps such as Veeam to safely copy it).

So you obviously need a free space on your storage to save snapshot but typically much smaller in size than the actual VM. And no, snapshot is not compressed during backup, but the data that is backed up by Veeam is compressed (unless compression is disabled in the job settings).

Thanks,
Alexander.
matthieu178
Novice
Posts: 5
Liked: never
Joined: Aug 08, 2011 9:59 am
Full Name: Matthieu Hegerle
Contact:

Re: Snapshot Creation

Post by matthieu178 »

Thanks for the answer.
It's just that I don't get why my machine crased and that the datastore was full...
Gostev
Chief Product Officer
Posts: 31814
Liked: 7302 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Snapshot Creation

Post by Gostev »

It looks like your datastore does not have enough free space to accommodate the required snapshot grow while the backup is running.
brunob
Lurker
Posts: 1
Liked: never
Joined: Aug 16, 2011 4:31 pm
Full Name: Stefan Bruhn
Contact:

Re: Snapshot Creation

Post by brunob »

Hello,

we have the same Problem. (Using Veeam 5.02)

can we set an parameter in VMware or Veeam that if the Volume is full, VMware is stopping the snapshot or send an eMail
without crashing the VM?

sorry about the Text, my english is not so good

Best regards
Stefan
Germany
Vitaliy S.
VP, Product Management
Posts: 27377
Liked: 2800 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Snapshot Creation

Post by Vitaliy S. »

Hello Stefan,

Have you considered using Veeam Monitor to raise an alarm with a post-alarm action in order to avoid situations like yours? Moreover we've got snapshot specific alarms that you can also use.

Here is the Veeam Monitor homepage for further reading:
http://www.veeam.com/vmware-esx-monitoring.html?ad=menu

Thanks.
sanbarrow
Influencer
Posts: 15
Liked: never
Joined: Jan 01, 2006 1:01 am
Contact:

Re: Snapshot Creation

Post by sanbarrow »

brunob wrote:
can we set an parameter in VMware or Veeam that if the Volume is full, VMware is stopping the snapshot ...
Yes - you can set
snapshot.minFreeSpace = "55000000000" (value in bytes)

if there is less free space than configured no new snapshots will be created by VMware.
Note that you have to set this per VM by manually editing the vmx-file
Gostev
Chief Product Officer
Posts: 31814
Liked: 7302 times
Joined: Jan 01, 2006 1:01 am
Location: Baar, Switzerland
Contact:

Re: Snapshot Creation

Post by Gostev »

No need to bother setting this for each VM... Veeam has the same setting, except it is global and hardcoded at 2 GB I believe (configurable via the registry setting). The job will simply not create a snapshot if remaining free disk space on datastore is less than 2 GB.

There is also automatic notification configurable via Tools > Options > Notification, with default being 10 GB. This will make the job to log warning in the session, but still proceed normally.
Post Reply

Who is online

Users browsing this forum: Google [Bot], Kazz, Mildur and 64 guests