on 12-23-2013 9:03 AM
can anyone tell me procedure to schedule offline backup method for Java instance in Oracle databse ?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
There is no difference between taking offline backup from brtools for ABAP or Java systems. You can follow below link:
Thanks,
Sunny
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.