Monday, 13 April 2020

RAC - Take TAR level binary backup of grid_home, db_home and orainventory_home

Example : How to take TAR level binary backup of grid_home, db_home and Orainventory_home



  • suse2:/u01/app # crsctl stop crs



  • suse2:/u01/app # tar -czvf grid.tar.gz ./grid



  • suse2:/u01/app # tar -czvf oraInventory.tar.gz ./oraInventory



  • suse2:/u01/app/oracle/product # tar -czvf 12.1.0.tar.gz ./12.1.0


( Example : Unzip OS Grid Tar Backup )


  • suse2:/u01/app/12.1.0 # ll

total 4051528
drwxr-xr-x 77 root oinstall       4096 Feb 20 17:09 grid
-rw-r--r--  1 root root     4148753092 Apr  9 13:36 grid.tar.gz

  • suse2:/u01/app/12.1.0 # mv grid grid_old



  • suse2:/u01/app/12.1.0 # ll

total 4051528
-rw-r--r--  1 root root     4148753092 Apr  9 13:36 grid.tar.gz
drwxr-xr-x 77 root oinstall       4096 Feb 20 17:09 grid_old
suse2:/u01/app/12.1.0 #

(Finally Unzipping grid.tar.gz)

  • suse2:/u01/app/12.1.0 # tar zvxf grid.tar.gz


drwxr-xr-x 77 root oinstall       4096 Feb 20 17:09 grid
-rw-r--r--  1 root root     4148753092 Apr  9 13:36 grid.tar.gz
suse2:/u01/app/12.1.0 #







No comments:

Post a Comment