AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  SAP filesystem backup on AIX

    Posted Tue February 09, 2010 03:17 AM

    Originally posted by: SystemAdmin


    Hi,

    We are running SAP on AIX 5.3 with Oracle 10.2.

    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


  • 2.  Re: SAP filesystem backup on AIX

    Posted Wed February 10, 2010 10:23 AM

    Originally posted by: MarkTaylor


    What device are you going to back up to ? tape ? local filesystem ? remote device / filesystem ? NFS ?

    Have you considered something like TSM ?

    You can use the find -xdev then pipe that into the "backup" command to stop you traversing other filesystems ..

    To restore, use the restore command :)

    You may want to have a google for AIX and Backup to see if anyone has written any nice scripts for you to use ..

    HTH
    Mark Taylor