Host-based backup of Microsoft Hyper-V VMs.
Post Reply
pawell
Enthusiast
Posts: 25
Liked: 1 time
Joined: Jan 27, 2015 8:27 am
Location: Kirov
Contact:

Best practive for backup Centos VM on Hyper-V

Post by pawell »

Hello. There is some virtual machines with Centos 6.5 that i want to backup using Veeam. VM has MySQL, Posftix, Apache running. Hyper-V integration components should be built-in since centos 6.4 according to technet.
Question is how to configure quiescence options to make succesful backup without data loss?
Vitaliy S.
VP, Product Management
Posts: 27112
Liked: 2719 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Best practive for backup Centos VM on Hyper-V

Post by Vitaliy S. »

Hello. You can use pre-freeze/post-thaw scripts to make application consistent backups of your CentOS VM. Please look through this existing topic for some script usage examples > Best Practice for Backing Up Linux VMs. Hope this helps!
crintoul
Novice
Posts: 4
Liked: 2 times
Joined: May 19, 2015 2:46 pm
Full Name: Chris Rintoul
Contact:

Re: Best practive for backup Centos VM on Hyper-V

Post by crintoul »

We have been trying to freeze\thaw MySQL on Ubuntu 14.10 guests using scripts but the scripts never get invoked (as evidenced in the logs).

I found this old post from 2 years ago suggesting calling the Veeam backup job from powershell - not sure if this still applies to Version 8 of Veeam: http://forums.veeam.com/microsoft-hyper ... tml#p78419

I have been working with support but we have not gotten anywhere yet so wondering if the powershell method is our only option or if Veeam 8 should be able to execute .sh scripts on Ubuntu guests now.

Freeze\thaw works fine on Windows guests.
crintoul
Novice
Posts: 4
Liked: 2 times
Joined: May 19, 2015 2:46 pm
Full Name: Chris Rintoul
Contact:

Re: Best practive for backup Centos VM on Hyper-V

Post by crintoul »

Update:

Found that for Ubuntu, it is required to manually install some daemons even though the integration services are listed as "built-in": https://technet.microsoft.com/en-us/lib ... 31029.aspx

Will see how freeze\thaw runs overnight with these daemons installed and report back.
crintoul
Novice
Posts: 4
Liked: 2 times
Joined: May 19, 2015 2:46 pm
Full Name: Chris Rintoul
Contact:

Re: Best practive for backup Centos VM on Hyper-V

Post by crintoul »

Unfortunately, the .sh scripts still fail to run - nothing is logged in the job or task logs for invoking the scripts either.
Vitaliy S.
VP, Product Management
Posts: 27112
Liked: 2719 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Best practive for backup Centos VM on Hyper-V

Post by Vitaliy S. »

Hi Chris, what's your case ID, so that I could discuss it with the devs internally?
crintoul
Novice
Posts: 4
Liked: 2 times
Joined: May 19, 2015 2:46 pm
Full Name: Chris Rintoul
Contact:

Re: Best practive for backup Centos VM on Hyper-V

Post by crintoul » 2 people like this post

Thanks - sorry for the late reply. Veeam Support ended up providing a hotfix consisting of 2 x .dll files that solved the issue. .sh scripts are being invoked properly.

Compressed hotfix file was named: Fix_42913_

Maybe referencing that hotfix will help others in the near term.
Post Reply

Who is online

Users browsing this forum: No registered users and 10 guests