cancel
Showing results for 
Search instead for 
Did you mean: 

offline backup of java instance using Brtools

Former Member
0 Kudos

can anyone tell me procedure to schedule offline backup method for Java instance in Oracle databse ?

Accepted Solutions (0)

Answers (3)

Answers (3)

Reagan
Advisor
Advisor
0 Kudos

Hello


can anyone tell me procedure to schedule offline backup method for Java instance in Oracle databse ?

Schedule the backup for the Oracle database in the way you schedule the backups for other Oracle databases with SAP.

As this is a Java system you need to consider taking the backup of the /usr/sap/SID file system as Java stacks also hold configuration files and application data at the OS level.


Regards

RB

Former Member
0 Kudos

The backup of database is same as mentioned by Sunny... but the filesystem backup may differ for the NW versions...

To restore the complete AS java you must have the FS and DB backup..

See below for NW 7.4

AS Java Backup and Restore - Administering Application Server Java - SAP Library

sunny_pahuja2
Active Contributor
0 Kudos

Hello,

There is no difference between taking offline backup from brtools for ABAP or Java systems. You can follow below link:

http://help.sap.com/saphelp_nw70ehp2/helpdata/en/08/257b5c31124ece8e53b9d8e0f827f1/content.htm?frame...

Thanks,

Sunny

Former Member
0 Kudos

Hi,

if you want schedule the backup you need to use transaction DB13 (this schedule also call the brtools to take backup)for online or offline.

if you take immediately, you can use brtools utility.

Thank you

Mahendran

Former Member
0 Kudos

Do you have java instance separate or ABAP+JAVA?

If it is ABAP+JAVA then no worries, as the backup you schedule for ABAP is also included for JAVA.


But if you have only JAVA then you can't use DB13, you may have to schedule a task in windows scheduler or UNIX corn job.

Former Member
0 Kudos

Hi Sunil,

Yes.. It is Java Only system. Can you tell me how to schedule  using cron job?

Reagan
Advisor
Advisor
0 Kudos

Could you tell me how the backup is taken now for the J2EE stack ?

If there is no backup scheduled then you need to configure the system with a backup server and also configure the .utl and .sap profiles for that.

Creating an entry in the crontab will not just help in taking the backup.

Unless and until the server is configured with a backup server no matter how the backups are started they will fail.

You need to first plug the system into a backup server with the help of a backup specialist.

You just need to put the backup script in the crontab using the command:

crontab -e

Before that I suggest to read these SAP notes.

They provide another option to configure backups using DB13 from an ABAP system.

1025707 - DBA Cockpit: Planning calendar and remote Oracle databases

853610 - Configuring transaction DB13C for Oracle


Regards

RB

Former Member
0 Kudos

configure the backup tool the same way you may have configured for the ABAP system. ie installation of the backup agent/client software etc...

after the successful installation of the backup client, you can test the backup from below command to check whether backup is running correctly...

brbackup -c -m all -t online_cons -a -c -cds

The above command will take online consistent backup with archive log. (If there is no backup server configured then the default it will go to /oracle/<SID>/sapbackup)

cron job is only for the UNIX system.

1)create a file under /oracle/<SID>/backup.sh

#!/bin/csh

./.login

./.dbenv.csh

/<path_of_your_brbackup>/brbackup -u / -c -p init<SID>.sap -d util_file -r init<SID>.utl -t online_cons -m -all -a -u / -c force -p init<SID>.sap -cds

2) save the file

3) change the permission (chmod 770 backup.sh)

4) schedule cron job

5) crontab -e (below example to run the backup daily at 4 am every day, every month, every year)

0 4 * * * /oracle/<SID>/backup.sh

---> If you have solution manager then you can also configure the portal backup via dbacockpit

there are lots of docs on this.

Former Member
0 Kudos

Hi,

Including Sunil's suggestion, you can install a standalone gateway on Java server and attach to an SAP ABAP system over DBACOCKPIT and schedule online/offline backup on "DBA Planning Calendar"

Best regards,

Orkun Gedik