AIX

AIX

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

 View Only
  • 1.  System Backup on Tape

    Posted Fri February 13, 2009 08:01 AM

    Originally posted by: salmanucit77


    Hi,
    I have IBM server with AIX 6.1 on it. I want to schdule he backup of the system (only) on the tape drive so that if i loose my systms, i can recover from tape. I have following file systems on my server. Please tell me which file systems do i need to backup. I am very new to AIX
    ##############################################################################
    1. df -k
    Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
    /dev/hd4 262144 79248 70% 11237 37% /
    /dev/hd2 4194304 1361280 68% 54020 15% /usr
    /dev/hd9var 131072 97952 26% 636 3% /var
    /dev/hd3 524288 489456 7% 742 1% /tmp
    /dev/hd1 131072 108776 18% 4054 15% /home
    /dev/hd11admin 131072 130708 1% 5 1% /admin
    /proc - - - - - /proc
    /dev/hd10opt 131072 40892 69% 2034 18% /opt
    /dev/fslv00 2097152 719412 66% 532 1% /ml-fixes
    /dev/fslv01 2097152 1342448 36% 311 1% /usr/sap/D01
    /dev/fslv02 26214400 6120104 77% 5653 1% /import_dump
    /dev/fslv03 3145728 2109096 33% 2250 1% /sapmnt/D01
    /dev/fslv04 524288 513664 3% 193 1% /oracle
    /dev/fslv05 524288 251668 52% 641 2% /oracle/client
    /dev/fslv06 1048576 1009700 4% 441 1% /oracle/D01
    /dev/fslv07 9437184 3999224 58% 20444 3% /oracle/D01/102_64
    /dev/fslv08 12582912 7391584 42% 11064 1% /oracle/stage/102_64
    /dev/fslv09 1048576 1035628 2% 138 1% /oracle/D01/saparch
    /dev/fslv10 10485760 10099628 4% 13 1% /oracle/D01/oraarch
    /dev/fslv11 10485760 2719792 75% 1449 1% /oracle/D01/sapreorg
    /dev/fslv12 524288 411116 22% 7 1% /oracle/D01/origlogA
    /dev/fslv13 524288 421464 20% 5 1% /oracle/D01/origlogB
    /dev/fslv14 524288 421468 20% 5 1% /oracle/D01/mirrlogA
    /dev/fslv15 524288 421472 20% 5 1% /oracle/D01/mirrlogB
    /dev/fslv16 31457280 8784400 73% 34 1% /oracle/D01/sapdata1
    /dev/fslv17 31457280 6876004 79% 27 1% /oracle/D01/sapdata2
    /dev/fslv18 31457280 7388020 77% 27 1% /oracle/D01/sapdata3
    /dev/fslv19 31457280 18549652 42% 19 1% /oracle/D01/sapdata4
    /dev/fslv20 31457280 9825032 69% 27 1% /oracle/D01/sapdata5
    /dev/fslv21 31457280 8145696 75% 31 1% /oracle/D01/sapdata6
    sapsvr06:/nfs_usr/sap/trans 20971520 16881888 20% 36705 1% /usr/sap/trans
    sapsvr06:/nfs_sapcd 20971520 1762600 92% 24314 6% /sapcd
    #######################################################################

    I have created /etc/exclude.rootvg file with the following entries. Please guide me if i am doing ok

    ^./usr
    ^./important_dump
    ^./sapmnt/D01
    ^./oracle
    And i am backup up system with the command

    /usr/bin/mksysb '-e' '-m' '-V' '-i' /dev/rmt0

    Am i doing right and would i be able to restore my system back if i loose anything?
    Thanks


  • 2.  Re: System Backup on Tape

    Posted Fri February 13, 2009 11:45 AM

    Originally posted by: alethad


    The mksysb only backs up the rootvg volume group. If you do a man on that command you will get a good idea of how to use it.
    Hopefully you only have the OS in rootvg and nothing else. If you do then you don't have much to exclude if anything at all. You didn't say but you definitely need to have Oracle in its own volume group and any other apps too. I even put the Oracle backup files in their own volume group separate from the Oracle app stuff.

    Do you have just the OS in rootvg?

    Good luck.


  • 3.  Re: System Backup on Tape

    Posted Fri February 13, 2009 10:00 PM

    Originally posted by: salmanucit77


    Hi,
    Thanks for your reply. Can you tell me that how to check whether i have my OS on root vg or not. I told you that i m very very new in using AIX. So i must be sure that this is not backing up any of the above mentioned file systems and it will only backup root vg. SO, if i have many other things on root vg and i want to exclude them and only want to backup OS, what should i do?
    Thanks

    Salman


  • 4.  Re: System Backup on Tape

    Posted Fri February 13, 2009 10:15 PM
      |   view attached

    Originally posted by: salmanucit77


    Hi,
    Please see the file systems in my rootvg in the attached file. You can also see the output of backup information which i took on the tape and you can see the size of this backup. Backup also takes more than one hour on my development system, and on production system it is taking 3 hours. Why is it taking this much time and why backup size is 27.5 G and compressed size on tape is 19G

    Salman

    Attachment(s)