cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Backup using Unix commands / tools

Former Member
0 Kudos

Hi,

We want to include file system backup process as part of our backup strategy. To test the waters, we are planning to take a backup of the at filesystems level. Following are the filesystems in our production systems. We have a test server (hostname is different), without any filesystems created beforehand. I want to know: 1. Which filesystems will be required from the below:

Filesystem GB blocks Used Free %Used Mounted on

/dev/hd4 2.00 0.20 1.80 11% /

/dev/hd2 5.00 2.07 2.93 42% /usr

/dev/hd9var 2.00 0.07 1.93 4% /var

/dev/hd3 2.00 0.77 1.23 39% /tmp

/dev/hd1 0.06 0.00 0.06 2% /home

/proc - - - - /proc

/dev/hd10opt 0.31 0.21 0.10 68% /opt

/dev/oraclelv 40.00 5.10 34.90 13% /oracle

/dev/optoralv 10.00 0.00 10.00 1% /opt/oracle

/dev/oracleGSPlv 40.00 4.34 35.66 11% /oracle/GSP

/dev/sapdata1lv 397.50 331.72 65.78 84% /oracle/GSP/sapdata1

/dev/sapdata2lv 297.50 194.58 102.92 66% /oracle/GSP/sapdata2

/dev/sapdata3lv 98.75 47.09 51.66 48% /oracle/GSP/sapdata3

/dev/sapdata4lv 98.75 38.08 60.67 39% /oracle/GSP/sapdata4

/dev/origlogAlv 10.00 0.12 9.88 2% /oracle/GSP/origlogA

/dev/origlogBlv 10.00 0.12 9.88 2% /oracle/GSP/origlogB

/dev/mirrlogAlv 10.00 0.10 9.90 1% /oracle/GSP/mirrlogA

/dev/mirrlogBlv 10.00 0.10 9.90 1% /oracle/GSP/mirrlogB

/dev/oraarchlv 148.75 24.02 124.73 17% /oracle/GSP/oraarch

/dev/usrsaplv 20.00 0.24 19.76 2% /usr/sap

/dev/sapmntlv 20.00 10.84 9.16 55% /sapmnt

/dev/usrsapGSPlv 20.00 7.89 12.11 40% /usr/sap/GSP

/dev/saptranslv 20.00 17.54 2.46 88% /usr/sap/trans

IDES:/sapcd 40.00 37.72 2.28 95% /sapcd

GILSAPED:/usr/sap/trans 20.00 17.54 2.46 88% /usr/sap/trans

2. Is it possible to directly backup the filesystems (like /dev/oracleGSPlv)? This requirement is because, when I backup (using tar) /oracle, all the folders in /oracle, like /oracle/GSP, /oracle/GSP/sapdata1 etc, are also backed up. I do not want it. I would like to backup the filesystems directly.

3. Which unix backup tools are used to backup the individual filesystems?

4. How do we restore the filesystems to the test server? Thanks for your advise. Abdul Edited by: Abdul Rahim Shaik on Feb 8, 2010 12:10 PM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I am not sure about your OS as you have not mentioned it...

If it is HP-UX then you can use "fbackup" backup for filesystem...

and IGNITE to backup volume groups..

fbackup will backup the filesystem only... but IGNITE backup creates bootable media for recovery...

With IGNITE (make_tape_recovery) backup you can backup individual volume group.

you can see the man pages for the details...

#man fbackup
#man make_tape_recovery

It will be more easy to guide you if you provide your OS and Filesystem layout and what you need to backup...

If you still want to use "tar" command for backup, use "--no-recursion" option to backup single directory

Regards.

Rajesh Narkhede

Former Member
0 Kudos

We are on AIX 5.3, Oracle 10.2 and SAP ECC 6.0

Former Member
0 Kudos

Hi,

In AIX, You can use SMIT (System Management Interface Tool). Just type 'smit' at a command prompt if you are not in CDE. If you are in CDE, type 'smitty' in the command window.

If you just want to backup a non rootvg file system, look at the man pages for savevg.

If you want to backup the Operating System (rootvg), you can use savevg as well, but using mksysb will give you bootable media which you can use to restore the OS.

You can also search google for the same...

Regards.

Rajesh Narkhede

Former Member
0 Kudos

We are on AIX 5.3, Oracle 10.2 and SAP ECC 6.0

Former Member
0 Kudos

Hi,

Read my above reply...

It is for AIX only...

Regards.

Rajesh Narkhede