<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: sheduling a DB Backup in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sheduling-a-db-backup/m-p/5098436#M443679</link>
    <description>&lt;!--!*#--&gt;Hi again,&lt;BR /&gt;&lt;BR /&gt;Please note that RMAN allows you to perform Incremental Merge backup and also takes advantage of the changed_blocks_tracking feature.&lt;BR /&gt;&lt;BR /&gt;Scheduling of your backup scripts can be done using the CRONTAB.&lt;BR /&gt;&lt;BR /&gt;Below a simple template that we commonly use:&lt;BR /&gt;&lt;BR /&gt;#*******************************************************************************&lt;BR /&gt;# min|hour |day  |month|day  |       |script&lt;BR /&gt;#    |     |of mo|     |of wk|       |&lt;BR /&gt;#----|-----|-----|-----|-----|-------|-----------------------------------&lt;BR /&gt;#*******************************************************************************&lt;BR /&gt;&lt;BR /&gt;00    04,08,12,16,20,00  *      *   *   echo "/home/yogeeraj/admin/scripts/oracle/rman/rman_fullbackup.sh;exit"|su - oracle  1&amp;gt;/home/yogeeraj/admin/scripts/logfiles/oracle/output-rman_fullbackup.crn 2&amp;gt;/home/yogeeraj/admin/scripts/logfiles/oracle/error-rman_fullbackup.crn&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;#*******************************************************************************&lt;BR /&gt;# END OF TABLE           day0-&amp;gt;Sunday  day6-&amp;gt;Saturday&lt;BR /&gt;#*******************************************************************************&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Tue, 18 Mar 2008 08:00:50 GMT</pubDate>
    <dc:creator>Yogeeraj_1</dc:creator>
    <dc:date>2008-03-18T08:00:50Z</dc:date>
    <item>
      <title>sheduling a DB Backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sheduling-a-db-backup/m-p/5098434#M443677</link>
      <description>Dear friends,&lt;BR /&gt;          I want to take the incremental backup of our oracle database in every four hours.Before creating the new backup, the existing one should be copied to another file.At present we are taking the backup of DB (full) every day.Current script is given below.&lt;BR /&gt;&lt;BR /&gt;#!/usr/local/bin/bash&lt;BR /&gt;#su - oracle&lt;BR /&gt;export ORACLE_HOME=/u01/app/oracle/product/10.0.0&lt;BR /&gt;flnm=bkp`date +%a_%H%M`.dat&lt;BR /&gt;echo "Exporting Backup to : $flnm on `date +%d/%m/%Y-%H:%M:%S`" &amp;gt;&amp;gt; /home/orabkup/backup.log&lt;BR /&gt;if [ $UID == 200 ]; then&lt;BR /&gt;     $ORACLE_HOME/bin/exp system/mastermind@ppms file=(/u02/orabkp/1_$flnm,/u02/orabkp/2_$flnm,/u02/orabkp/3_$flnm) filesize=4G owner=(iwall,tico_dev) trigge&lt;BR /&gt;rs=y compress=y rows=y statistics=none log=/home/orabkup/logbkp.log1&lt;BR /&gt;     #exp system/mastermind file=/u02/orabkp/$flnm full=Y log=/home/orabkup/logbkp.log1&lt;BR /&gt;#&amp;gt;/dev/null 2&amp;gt;/dev/null&lt;BR /&gt;else&lt;BR /&gt;echo "You must logged in as ORACLE user"&lt;BR /&gt;fi&lt;BR /&gt;echo "====== Backup Completed on `date +%d/%m/%Y-%H:%M:%S` =====" &amp;gt;&amp;gt; /home/orabkup/backup.log&lt;BR /&gt;echo "====== Backup transfer start  `date +%d/%m/%Y-%H:%M:%S` =====" &amp;gt;&amp;gt; /home/orabkup/backup.log&lt;BR /&gt;scp /u02/orabkp/*_$flnm oracle@202.25.10.245:/u02/pms_bkp/.&lt;BR /&gt;echo "====== Backup transfer end  `date +%d/%m/%Y-%H:%M:%S` =====" &amp;gt;&amp;gt; /home/orabkup/backup.log&lt;BR /&gt;&lt;BR /&gt;orabkp: END&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;We use rx 7620 server with hpux 11.23 os&lt;BR /&gt;&lt;BR /&gt;kindly give me a solution.</description>
      <pubDate>Tue, 18 Mar 2008 07:40:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sheduling-a-db-backup/m-p/5098434#M443677</guid>
      <dc:creator>akarayil</dc:creator>
      <dc:date>2008-03-18T07:40:25Z</dc:date>
    </item>
    <item>
      <title>Re: sheduling a DB Backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sheduling-a-db-backup/m-p/5098435#M443678</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You should start thinking in terms of Oracle RMAN backup.&lt;BR /&gt;&lt;BR /&gt;EXP only gives you a snapshot of your data as at a specific point in time. You will not be able to recover your database at *any* desired point in time in cases of failure. There will always be data lost!!!&lt;BR /&gt;&lt;BR /&gt;How critical is your system?&lt;BR /&gt;&lt;BR /&gt;What you really need a system that allows you to backup your database online and at the same time allows you to recover the database in case of any failures till the latest transaction committed.&lt;BR /&gt;&lt;BR /&gt;Is this a Linux machine?&lt;BR /&gt;&lt;BR /&gt;if you need any further assistance on how to implement RMAN, please do let us know.&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Tue, 18 Mar 2008 07:53:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sheduling-a-db-backup/m-p/5098435#M443678</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2008-03-18T07:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: sheduling a DB Backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sheduling-a-db-backup/m-p/5098436#M443679</link>
      <description>&lt;!--!*#--&gt;Hi again,&lt;BR /&gt;&lt;BR /&gt;Please note that RMAN allows you to perform Incremental Merge backup and also takes advantage of the changed_blocks_tracking feature.&lt;BR /&gt;&lt;BR /&gt;Scheduling of your backup scripts can be done using the CRONTAB.&lt;BR /&gt;&lt;BR /&gt;Below a simple template that we commonly use:&lt;BR /&gt;&lt;BR /&gt;#*******************************************************************************&lt;BR /&gt;# min|hour |day  |month|day  |       |script&lt;BR /&gt;#    |     |of mo|     |of wk|       |&lt;BR /&gt;#----|-----|-----|-----|-----|-------|-----------------------------------&lt;BR /&gt;#*******************************************************************************&lt;BR /&gt;&lt;BR /&gt;00    04,08,12,16,20,00  *      *   *   echo "/home/yogeeraj/admin/scripts/oracle/rman/rman_fullbackup.sh;exit"|su - oracle  1&amp;gt;/home/yogeeraj/admin/scripts/logfiles/oracle/output-rman_fullbackup.crn 2&amp;gt;/home/yogeeraj/admin/scripts/logfiles/oracle/error-rman_fullbackup.crn&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#&lt;BR /&gt;#*******************************************************************************&lt;BR /&gt;# END OF TABLE           day0-&amp;gt;Sunday  day6-&amp;gt;Saturday&lt;BR /&gt;#*******************************************************************************&lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 18 Mar 2008 08:00:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sheduling-a-db-backup/m-p/5098436#M443679</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2008-03-18T08:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: sheduling a DB Backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sheduling-a-db-backup/m-p/5098437#M443680</link>
      <description>Thank you yogeeraj for your kind response.&lt;BR /&gt;&lt;BR /&gt;Here we use hp unix OS. Like "logrotate" in Linux, is there any utility in hp-ux.If I've my last full backup and latest two or three incremental backups,which has been taken every four hours,I hope that we can do better recovery.</description>
      <pubDate>Wed, 19 Mar 2008 09:49:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sheduling-a-db-backup/m-p/5098437#M443680</guid>
      <dc:creator>akarayil</dc:creator>
      <dc:date>2008-03-19T09:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: sheduling a DB Backup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sheduling-a-db-backup/m-p/5098438#M443681</link>
      <description>I want to add a new tread with better info.</description>
      <pubDate>Sat, 29 Mar 2008 07:16:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sheduling-a-db-backup/m-p/5098438#M443681</guid>
      <dc:creator>akarayil</dc:creator>
      <dc:date>2008-03-29T07:16:55Z</dc:date>
    </item>
  </channel>
</rss>

