Discussions specific to the VMware vSphere hypervisor
Post Reply
yrrah2010
Influencer
Posts: 18
Liked: never
Joined: Jan 26, 2011 7:06 am
Contact:

Veeam B&R 5 run script SLES

Post by yrrah2010 »

With Veeam B&R 5 I can run scripts before and after an backup job in a Windows environment, but is this possible to run an .sh script in a Suse Linux Enterprise environment?

Vitaliy S.
Product Manager
Posts: 24243
Liked: 1859 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Veeam B&R 5 run script SLES

Post by Vitaliy S. »

I believe yes, you should be able to do it by means of VMware Tools pre-freeze and post-thaw scripts. Thanks!

yrrah2010
Influencer
Posts: 18
Liked: never
Joined: Jan 26, 2011 7:06 am
Contact:

Re: Veeam B&R 5 run script SLES

Post by yrrah2010 »

Thanks for the quick reply, i can find solutions for Oracle but only in an Windows environment because it uses an VSS component in combination with pre-freeze and post-thaw scripts, but i haven't find something usefull for the situation Oracle and Linux.

Vitaliy S.
Product Manager
Posts: 24243
Liked: 1859 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Veeam B&R 5 run script SLES

Post by Vitaliy S. »

Hmm...what about this one - Quiesce a Linux Progress Database with Veeam Backup? This should give you a basic idea of how to trigger those scripts, as to Oracle-specific examples, sorry but I cannot help you with this, though I'm pretty sure there are plenty existing discussions on Oracle Community forums, check them out.

Vitaliy S.
Product Manager
Posts: 24243
Liked: 1859 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Veeam B&R 5 run script SLES

Post by Vitaliy S. »

Btw, here is a recorded webinar which covers these details too: Running Oracle on VMware

yrrah2010
Influencer
Posts: 18
Liked: never
Joined: Jan 26, 2011 7:06 am
Contact:

Re: Veeam B&R 5 run script SLES

Post by yrrah2010 »

Im trying to get an script running, this is what i've configured (correct me if im wrong).
1. Installed VMtools on the SLES 10 server.
2. create an pre-freeze-script and post-thaw-script located in:
/usr/sbin/post-thaw-script
/usr/sbin/pre-freeze-script

But how to I activate this script to set the database in standby modus from the Veeam job.
Do i need to "Enable VMware tools quiescence" under "Advanced Settings" -> "Advanced"?

Vitaliy S.
Product Manager
Posts: 24243
Liked: 1859 times
Joined: Mar 30, 2009 9:13 am
Full Name: Vitaliy Safarov
Contact:

Re: Veeam B&R 5 run script SLES

Post by Vitaliy S. »

Yes, VMware Tools Quiescence should be enabled for this VM, in this case pre-freeze and post-thaw scripts will be triggered automatically.

If you want to verify this workflow without running Veeam backup job, just use vSphere Client to create snapshot with quiescence enabled.

yrrah2010
Influencer
Posts: 18
Liked: never
Joined: Jan 26, 2011 7:06 am
Contact:

Re: Veeam B&R 5 run script SLES

Post by yrrah2010 »

I shall test this setup, the only thing that's strange in my eyes that you don't have to set an extension after the file name.

capoitaly
Lurker
Posts: 1
Liked: never
Joined: Mar 08, 2012 1:17 pm
Full Name: Alessandro Caviglione
Contact:

Re: Veeam B&R 5 run script SLES

Post by capoitaly »

Hi yrrah,
you must change the script files extension!
http://forums.veeam.com/viewtopic.php?f ... ols#p31929

"don't forget to make the scripts executable"

I've tried to write you a PM but I'm just registered to this forum and I can't do it, can you please contact me?

EBoucq
Expert
Posts: 236
Liked: 15 times
Joined: Jan 21, 2011 10:10 am
Full Name: Eric Boucq
Contact:

Best way to backup SLES 11 with Oracle 11.2.0.3

Post by EBoucq »

[merged]

Hi,

I have to backup VMs running SUSE Linux Enterprise 11 with Oracle 11.2.0.3
What's the best setting to do that ? Shutdown the database and run the backup ? Leave the database up and enable VSS ? Vmware Tools quiescence ?

Thanks !
Regards,

Eric.

dellock6
Veeam Software
Posts: 5926
Liked: 1743 times
Joined: Jul 26, 2009 3:39 pm
Full Name: Luca Dell'Oca
Location: Varese, Italy
Contact:

Re: Veeam B&R 5 run script SLES

Post by dellock6 »

Hi, I have no experience on this scenario, but for sure you cannot use VSS since it's a windows feature. I read in other threads you can do this with some scripting to manage Oracle log truncation prior to backup, like this for example: Backup SAP Oracle vServer

Luca.
Luca Dell'Oca
Principal EMEA Cloud Architect @ Veeam Software

@dellock6
https://www.virtualtothecore.com/
vExpert 2011 -> 2020
Veeam VMCE #1

Post Reply

Who is online

Users browsing this forum: No registered users and 22 guests