Monthly Archives: March 2017

RSYNC Examples in AIX

Backing up data using rsync command rsync is a great tool for backing up and restoring files. I’ll use some example to explain on how it works. Example of the remote server and folder that needs to be backup or … Continue reading

Posted in OS-AIX | Tagged | Leave a comment

Backup Rman Incremental SCRIPTS Use Name days for tag

Set retention policy to recovery window to 7 days. CONFIGURE RETENTION POLICY TO RECOVERY WINDOW OF 7 DAYS; Script for Backup Level 0 backup_0.sh ORACLE_BASE=/oracle ORACLE_HOME=$ORACLE_BASE/orahome ORACLE_SID=orcl export ORACLE_BASE ORACLE_HOME ORACLE_SID export PATH=$PATH:/$ORACLE_HOME/bin rman target=’system/bagbag’ cmdfile=’/oracle/rman_script/rman_backup0.cmd’ log=’/oracle/rman_script/backup-level0.log’ currentdate=`date ‘+%y%m%d_%H%M’` file_name=hr_db_DC$currentdate.dmp … Continue reading

Posted in ORACLE, RMAN, Uncategorized | Tagged | Leave a comment