Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE
Highlighted
akaefer Absent Member.
Absent Member.
760 views

How to run a DB2 and a FS Job in the same schedule

Jump to solution

Hello,

 

i have a Backup Procedure where I have to Backup a DB2 Database and Files from the same Server.

At the moment i´ve realized it with a Post-exec script that is starting a second Backupjob for the Filesystem.

I always get the following Message:

[Major]

From: BSM@xxxxxx.net"Backup DB2 Test" Time: 03.09.2013 16:20:14

Session post-exec script xxxxxx.bat failed. Exit code = -2.

 

Is there a better way for my challenge?

 

Thank You!! Kind Regards,

Andreas

Tags (1)
0 Likes
1 Solution

Accepted Solutions
akaefer Absent Member.
Absent Member.

Re: How to run a DB2 and a FS Job in the same schedule

Jump to solution

Hi,

 

i appreciate your answers. I found a sollution for my Challenge.

 

I´am now useing the Notifications instead of Post-Exec-Script to build a chain of Backups.

I created a notification to start a Batch as soon as it get a End of Session result from the first Backup Session.

 

Manny Thanks!!!

 

Kind Regards,

 

Andreas

0 Likes
3 Replies
Bob_Clark Absent Member.
Absent Member.

Re: How to run a DB2 and a FS Job in the same schedule

Jump to solution

Other than scheduling your second backup job to be sure it starts the DB2 backup finishes, no there is really no other method

 

I suggest that you try running your post-exec script by itself to be sure that there is nothing wrong with the script

 

If not, make sure that the script lives in the same directory as the executables on the cell manager

 

UNIX

        /opt/omni/lbin

 

Windows

       Program Files -> Omniback -> bin

 

However, I don't see any reason why these backups couldn't be running at the same time, unless they share a device, there is nothing in Data Protector that prohibits this

0 Likes
Absent Member.. danielbraun Absent Member..
Absent Member..

Re: How to run a DB2 and a FS Job in the same schedule

Jump to solution

Hi,

 

you need to stay with your post exec script, as pooling of filesystem backups and integration backups is possible in DP. Use the suggestion from Bob.

 

To see why your post exec fails, please post the content of the file.

 

Best regards

Daniel

-----------
Please assign Kudos - How to assign...
0 Likes
akaefer Absent Member.
Absent Member.

Re: How to run a DB2 and a FS Job in the same schedule

Jump to solution

Hi,

 

i appreciate your answers. I found a sollution for my Challenge.

 

I´am now useing the Notifications instead of Post-Exec-Script to build a chain of Backups.

I created a notification to start a Batch as soon as it get a End of Session result from the first Backup Session.

 

Manny Thanks!!!

 

Kind Regards,

 

Andreas

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.