Operating System - HP-UX
1839318 Members
2575 Online
110138 Solutions
New Discussion

Backup Oracle Software - binaries.

 
Gulam Mohiuddin
Regular Advisor

Backup Oracle Software - binaries.

Before applying latest Oracle9i patch, I would like to take complete backup of Oracle Software in $ORACLE_HOME on a separate disk at /u10/backup.

Thanks,

Gulam.
Everyday Learning.
8 REPLIES 8
A. Clay Stephenson
Acclaimed Contributor

Re: Backup Oracle Software - binaries.


cd ${ORACLE_HOME}
find . -print | cpio -pudvm /u10/backup

Man find and cpio for details.
If it ain't broke, I can fix that.
Steven E. Protter
Exalted Contributor

Re: Backup Oracle Software - binaries.

Just copy or tar the files or use fbackup.

Does not matter of the database is up or down.

cd $ORACLE_HOME

cp -R * /u10/backup

Done

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Volker Borowski
Honored Contributor

Re: Backup Oracle Software - binaries.

Well, that is an excellent idea ....

What is your question ?
How to do it ?
If yes, try this:

tar cvf /u10/backup/ORA_HOME.TAR $ORACLE_HOME

Hope this helps
Volker
Steven E. Protter
Exalted Contributor

Re: Backup Oracle Software - binaries.

Back up the data too. that you want to do cold, database down.

The latest Oracle 9i rel two patch requires a data conversion.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Gulam Mohiuddin
Regular Advisor

Re: Backup Oracle Software - binaries.

Actually I was confused what command to use tar, dd or cpio due to 2GB limit and softlink issues.

Thanks,

Gulam.
Everyday Learning.
A. Clay Stephenson
Acclaimed Contributor

Re: Backup Oracle Software - binaries.

Surely, you have no Oracle binaries larger than 2GB.
If it ain't broke, I can fix that.
Michael Schulte zur Sur
Honored Contributor

Re: Backup Oracle Software - binaries.

Hi,

you can also use fbackup -f
I was wondering about cp. Does cp leave symbolic links untouched, when used recursevly?

Michael
Steven E. Protter
Exalted Contributor

Re: Backup Oracle Software - binaries.

There are absolutely no binaries in any version of Oracle that exceed the 2 GB limit. You must be talking about data if you are concerned with this.

As I said above, Oracle binaries can be backed up at any time, by any os backup tool and you will get a good image that can be restored and used on the same os and bitsize.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com