Best practive for backup Centos VM on Hyper-V

Hyper-V specific discussions

Best practive for backup Centos VM on Hyper-V

Veeam Logoby pawell » Tue Mar 03, 2015 2:02 pm

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?
pawell
Enthusiast
 
Posts: 25
Liked: 1 time
Joined: Tue Jan 27, 2015 8:27 am
Location: Kirov

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

Veeam Logoby Vitaliy S. » Tue Mar 03, 2015 2:48 pm

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!
Vitaliy S.
Veeam Software
 
Posts: 19558
Liked: 1102 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

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

Veeam Logoby crintoul » Tue May 19, 2015 2:53 pm

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: microsoft-hyper-v-f25/pre-freeze-and-post-thaw-for-hyper-v-t16579.html#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: Tue May 19, 2015 2:46 pm
Full Name: Chris Rintoul

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

Veeam Logoby crintoul » Tue May 19, 2015 9:22 pm

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: Tue May 19, 2015 2:46 pm
Full Name: Chris Rintoul

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

Veeam Logoby crintoul » Wed May 20, 2015 5:25 pm

Unfortunately, the .sh scripts still fail to run - nothing is logged in the job or task logs for invoking the scripts either.
crintoul
Novice
 
Posts: 4
Liked: 2 times
Joined: Tue May 19, 2015 2:46 pm
Full Name: Chris Rintoul

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

Veeam Logoby Vitaliy S. » Wed May 20, 2015 9:36 pm

Hi Chris, what's your case ID, so that I could discuss it with the devs internally?
Vitaliy S.
Veeam Software
 
Posts: 19558
Liked: 1102 times
Joined: Mon Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov

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

Veeam Logoby crintoul » Fri May 22, 2015 3:31 pm 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.
crintoul
Novice
 
Posts: 4
Liked: 2 times
Joined: Tue May 19, 2015 2:46 pm
Full Name: Chris Rintoul


Return to Microsoft Hyper-V



Who is online

Users browsing this forum: No registered users and 5 guests