Re: AIX - backup SAP DB2

2004-04-26 19:22:01
Subject: Re: AIX - backup SAP DB2
From: Steve Harris <Steve_Harris AT HEALTH.QLD.GOV DOT AU>
Date: Tue, 27 Apr 2004 09:18:36 +1000

Shoudn't you be running the SAP brbackup utility?
This is a bunch of generic scripts and, yes, at the end of it all it boils down 
to a db2 backup command, but it is the SAP way to do things.


>>> throuda AT HTD DOT CZ 23/04/2004 18:20:46 >>>
Hi all,

I have problem with running backup of DB2 backup database of SAp system on
AIX. I am not AIX guru so, please, dont shoot me :-)). I have shell script, for online backup of database with this contens:

su - devadm "-c db2 backup db DEV online use tsm"

Backup works fine, when I run script on foreground. At least backup works
fine when I run "dsmc sched" on foreground (under root user) and make
schedule on TSM server to run this script. But backup don't work, when I run
scheduler on background with "nohup dsmc schedule 2> /dev/null &" as
described in TSM client user's guide. Script ends with return code 127.
Running script with cron aends with error return code too.

Any advice for one poor, miserable, devasted and bleeding AIX non-specialist
and cookie-eater?


This email, including any attachments sent with it, is confidential and for the 
sole use of the intended recipient(s).  This confidentiality is not waived or 
lost, if you receive it and you are not the intended recipient(s), or if it is 
transmitted/received in error.

Any unauthorised use, alteration, disclosure, distribution or review of this 
email is prohibited.  It may be subject to a statutory duty of confidentiality 
if it relates to health service matters.

If you are not the intended recipient(s), or if you have received this email in 
error, you are asked to immediately notify the sender by telephone or by return 
email.  You should also delete this email and destroy any hard copies produced.

<Prev in Thread] Current Thread [Next in Thread>