We have 1 Solaris Server in the Backup with Veeam.
1 global zone and 2 local zones.
The local zones look like this:
Local Zone1 prod
Files + Oracle DB
Local Zone2 test
Files + Oracle DB
Because of Licensing we have deployed the Veeam Solaris Agent in the global zone.
So, Scenario 1: backup from the global zone:
https://helpcenter.veeam.com/docs/agent ... bal&ver=40
With that we can backup anything file related within the local zones just fine. So that works.
But on top of that we need a pre- and postscript executed in the context of the local zone.
How can that be achieved with agent only deployed in the global zone?
Is that possible? If yes what would you suggest how to accomplish that?
What we want to do specifically is to trigger the OracleDB in to local zone to create a backup/dump which will/can then be included in the Veeam Backup.
And then the postscript triggers to delete that Oracle backup/dump afterwards.
Working with the Oracle RMAN Plugin would not really give us a benefit since we need a "snapshot" of The filesystem data to be in "sync" with the OracleDB backup.
And that would happen once maybe twice a day.
How can this be achieved?
-
- Service Provider
- Posts: 26
- Liked: 1 time
- Joined: Dec 04, 2023 10:00 am
- Full Name: Udo Kloos
- Contact:
-
- Veeam Software
- Posts: 497
- Liked: 100 times
- Joined: Jul 03, 2023 12:44 pm
- Full Name: Rovshan Pashayev
- Location: Czechia
- Contact:
Re: Solaris: pre- and postscripts from agent in global zone passed to local zone
Hello Udo,
The global zone has access to the directories and files of non-global zones unless specific rights are set. However, in this particular case, simply accessing data won't suffice as you require the non-global zone system to perform certain tasks, such as dumping a database to disk. To accomplish this, we can leverage the "zlogin" command.
By executing a pre/post-script in the global zone and managing necessary tasks within the non-global zone using "zlogin", you can achieve our objectives.
It's important to keep in mind that the backup job will wait for the pre-script to finish (according to the time limit specified in "veeam.ini") before proceeding with the actual backup.
The global zone has access to the directories and files of non-global zones unless specific rights are set. However, in this particular case, simply accessing data won't suffice as you require the non-global zone system to perform certain tasks, such as dumping a database to disk. To accomplish this, we can leverage the "zlogin" command.
By executing a pre/post-script in the global zone and managing necessary tasks within the non-global zone using "zlogin", you can achieve our objectives.
It's important to keep in mind that the backup job will wait for the pre-script to finish (according to the time limit specified in "veeam.ini") before proceeding with the actual backup.
Rovshan Pashayev
Analyst
Veeam Agent for Linux, Mac, AIX & Solaris
Analyst
Veeam Agent for Linux, Mac, AIX & Solaris
Who is online
Users browsing this forum: No registered users and 9 guests