<?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: Databse backup automated through Crontab in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633057#M808569</link>
    <description>Hi Jeena ,&lt;BR /&gt;&lt;BR /&gt;The above example by Yogeeraj is a good one.&lt;BR /&gt;&lt;BR /&gt;Well that will kepp the oracle backup in the system , i.e disk , if you want to create a tape backup for this , you can add another line in the crontab and tape backup also can be taken of the DMP export file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;crontab -e&lt;BR /&gt;00 20 * * * tapebkup.sh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#script tapebkup.sh&lt;BR /&gt;##########################################&lt;BR /&gt;# Assuming Tape is in the Drive.&lt;BR /&gt;# starting Tape backup of Oracle Export file.&lt;BR /&gt;&lt;BR /&gt;TP_STATUS="`mt -f /dev/rmt/0mn status | grep BOT | awk '{print $3}' `"&lt;BR /&gt;if [ $TP_STATUS = "BOT" ]&lt;BR /&gt;then &lt;BR /&gt;echo " TAPE Present in the drive .."&lt;BR /&gt;else&lt;BR /&gt;echo " No Tape in the Drive !!!!exiting...Tape backup .."&lt;BR /&gt;exit 1&lt;BR /&gt;fi&lt;BR /&gt;cd /backup/oracle/export&lt;BR /&gt;tar -cvf /dev/rmt/0m  /backup/oracle/export/*  &amp;gt;&amp;gt;tapebkup.log&lt;BR /&gt;mt -f /dev/rmt/0m rew &amp;gt;&amp;gt; tapebkup.log&lt;BR /&gt;mt -f /dev/rmt/0m offl &amp;gt;&amp;gt; tapebkup.log&lt;BR /&gt;&lt;BR /&gt;echo "Tape backup of oracle completed at: `date ` successfully ..." &amp;gt;&amp;gt; /dev/tapebkup.log&lt;BR /&gt;#########################################&lt;BR /&gt;&lt;BR /&gt;Hope this will help ....plannig for a script..&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.</description>
    <pubDate>Sat, 24 Sep 2005 19:47:51 GMT</pubDate>
    <dc:creator>Raj D.</dc:creator>
    <dc:date>2005-09-24T19:47:51Z</dc:date>
    <item>
      <title>Databse backup automated through Crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633044#M808556</link>
      <description>Hi i'm new to Unix.I need to do a database backup on a daily basis.This databse backup requires user entry for data (example: database name,date of backup....).&lt;BR /&gt;&lt;BR /&gt;I want to make this automated using the crontab, but i'm not sure how to create a script to run this databse backup daily through crontab.&lt;BR /&gt;&lt;BR /&gt;Can someone assist me on how to create this script???&lt;BR /&gt;&lt;BR /&gt;pleaseeee.</description>
      <pubDate>Thu, 22 Sep 2005 23:09:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633044#M808556</guid>
      <dc:creator>Jeena_1</dc:creator>
      <dc:date>2005-09-22T23:09:01Z</dc:date>
    </item>
    <item>
      <title>Re: Databse backup automated through Crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633045#M808557</link>
      <description>&lt;BR /&gt;Put all your database related commands in &lt;DATABASE_SCRIPT&gt;&lt;/DATABASE_SCRIPT&gt;&lt;BR /&gt;# crontab -e&lt;BR /&gt;&lt;BR /&gt;# Will execute the &lt;DATABASE_SCRIPT&gt;&lt;/DATABASE_SCRIPT&gt;&lt;BR /&gt;15 1 * * * &lt;DATABASE_SCRIPT&gt;&lt;/DATABASE_SCRIPT&gt;</description>
      <pubDate>Thu, 22 Sep 2005 23:30:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633045#M808557</guid>
      <dc:creator>VEL_1</dc:creator>
      <dc:date>2005-09-22T23:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Databse backup automated through Crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633046#M808558</link>
      <description>easy part of the answer is the automating the process via cron.&lt;BR /&gt;&lt;BR /&gt;logged in as root, run &lt;BR /&gt;&lt;BR /&gt;crontab -e&lt;BR /&gt;&lt;BR /&gt;and add this line&lt;BR /&gt;&lt;BR /&gt;00 02 * * * /oracle/backup_database.sh&lt;BR /&gt;&lt;BR /&gt;and save and exit.&lt;BR /&gt;&lt;BR /&gt;this line will let your system run the /oracle/backup_database.sh script every day at 2:00 AM in the morning.&lt;BR /&gt;&lt;BR /&gt;the hard part of the question answer is what will be inside the /oracle/backup_database.sh script ?&lt;BR /&gt;&lt;BR /&gt;The answer is : it all depends. Depends on what ? Well, first it depends on how your database container(s) are structured ? Is it a filesystem structure or raw disk ? Do you have any backup software to use (like veritas netbackup or HP Data Protector) ? Or you would like to use fbackup ?&lt;BR /&gt;&lt;BR /&gt;If you can tell more details, I am sure you will get better tailored answers.</description>
      <pubDate>Thu, 22 Sep 2005 23:33:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633046#M808558</guid>
      <dc:creator>Mel Burslan</dc:creator>
      <dc:date>2005-09-22T23:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Databse backup automated through Crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633047#M808559</link>
      <description>Hi Jaskirat,&lt;BR /&gt;&lt;BR /&gt;Can you tell us what your environment looks like (Unix version, Database software and version)? &lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Renarios</description>
      <pubDate>Fri, 23 Sep 2005 01:02:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633047#M808559</guid>
      <dc:creator>renarios</dc:creator>
      <dc:date>2005-09-23T01:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: Databse backup automated through Crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633048#M808560</link>
      <description>You can do it easily with cron tab scheduling.&lt;BR /&gt;&lt;BR /&gt;Make a script to use configuration for database name, date of backup. Based on that backup, you can start executing backup script with cron tab.&lt;BR /&gt;&lt;BR /&gt;First create your user configuration file that will get user entry for data. Read that configuration file from your script as,&lt;BR /&gt;&lt;BR /&gt;. &lt;FILE with="" full="" path=""&gt;&lt;BR /&gt;&lt;BR /&gt;in the backup script. Execute cron based on your need.&lt;BR /&gt;&lt;BR /&gt;hth.&lt;/FILE&gt;</description>
      <pubDate>Fri, 23 Sep 2005 01:06:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633048#M808560</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-09-23T01:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Databse backup automated through Crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633049#M808561</link>
      <description>Hi....First, thanks to all for the reply..&lt;BR /&gt;&lt;BR /&gt;According to Mel's solution,yes I know that the command for crontab is crontab -e.&lt;BR /&gt;What I don't know is what to put in the /oracle/backup_database.sh script .&lt;BR /&gt;&lt;BR /&gt;Information about my system:-&lt;BR /&gt;-It is a Unix server&lt;BR /&gt;-Oracle database&lt;BR /&gt;-I log in into the server&lt;BR /&gt;-I come to a page where I have a few options&lt;BR /&gt;-From the options I choose database backup&lt;BR /&gt;-A user prompt comes out asking me what is the database name for backup....so I key in the database name&lt;BR /&gt;-Another user prompt comes out asking me for table name for backup...so I key in table name&lt;BR /&gt;-Backup will be in process...and is stored in a directory cd /u01/backup/exp&lt;BR /&gt;&lt;BR /&gt;I don't know how to create the script...&lt;BR /&gt;&lt;BR /&gt;Please help...&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Sep 2005 01:52:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633049#M808561</guid>
      <dc:creator>Jeena_1</dc:creator>
      <dc:date>2005-09-23T01:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Databse backup automated through Crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633050#M808562</link>
      <description>hi&lt;BR /&gt;&lt;BR /&gt;Since you are running Oracle Database, you should be using RMAN for backup. This is the easiest way.&lt;BR /&gt;&lt;BR /&gt;see the url below on how you would go about configuring rman (if you have not already done so, of course):&lt;BR /&gt;&lt;A href="http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96566/toc.htm" target="_blank"&gt;http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96566/toc.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;the rest is to create the script to do the backup then schedule the script as described above.&lt;BR /&gt;&lt;BR /&gt;if you need any further help, do let us know.&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Fri, 23 Sep 2005 03:00:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633050#M808562</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-09-23T03:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Databse backup automated through Crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633051#M808563</link>
      <description>hi again,&lt;BR /&gt;&lt;BR /&gt;a typical backup script for your full database backup would be:&lt;BR /&gt;&lt;PRE&gt;&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh&lt;BR /&gt;##############################################################################&lt;BR /&gt;#Script name: rman_full.sh&lt;BR /&gt;#Description: RMAN full backup script&lt;BR /&gt;#last Modified: Yogeeraj-10/01/2003&lt;BR /&gt;##############################################################################&lt;BR /&gt;messagelog="/backup/rman/logfiles/rman_full-`date +%d%m%y-%H%M`"&lt;BR /&gt;rman target xxx/xxx@mydb rcvcat rman/rman@catalog msglog $message&lt;BR /&gt;log &amp;lt;&lt;EOF&gt;/dev/null&lt;BR /&gt;run {&lt;BR /&gt;allocate channel fs1 type disk format '/backup/rman/full/fs1/df_%u_%s_$t.%p';&lt;BR /&gt;allocate channel fs2 type disk format '/backup/rman/full/fs2/df_%u_%s_$t.%p';&lt;BR /&gt;&lt;BR /&gt;set limit channel fs1 kbytes=750000;&lt;BR /&gt;set limit channel fs2 kbytes=750000;&lt;BR /&gt;&lt;BR /&gt;#Backup the whole database&lt;BR /&gt;backup&lt;BR /&gt;  tag Whole_database_hot&lt;BR /&gt;  database;&lt;BR /&gt;&lt;BR /&gt;#Switch out of the current logfile&lt;BR /&gt;sql 'alter system archive log current';&lt;BR /&gt;&lt;BR /&gt;#Backup the archived logs &lt;BR /&gt;backup&lt;BR /&gt;  archivelog all&lt;BR /&gt;  format '/backup/rman/full/fs1/al_%u.%p';&lt;BR /&gt;&lt;BR /&gt;#Backup a copy of the controlfile that contains records for the&lt;BR /&gt;#other backups just made&lt;BR /&gt;backup&lt;BR /&gt;  current controlfile&lt;BR /&gt;  tag = cf1&lt;BR /&gt;  format '/backup/rman/full/fs1/cf_%u.%p';&lt;BR /&gt;}&lt;BR /&gt;exit;&lt;BR /&gt;EOF&lt;BR /&gt;#end of script&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj&lt;/EOF&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Sep 2005 03:54:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633051#M808563</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-09-23T03:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Databse backup automated through Crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633052#M808564</link>
      <description>hi again,&lt;BR /&gt;sorry for the corrupted output!&lt;BR /&gt;&lt;BR /&gt;script attached.&lt;BR /&gt;&lt;BR /&gt;let us know it it helps!&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Fri, 23 Sep 2005 04:02:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633052#M808564</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-09-23T04:02:52Z</dc:date>
    </item>
    <item>
      <title>Re: Databse backup automated through Crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633053#M808565</link>
      <description>Hi Yogeeraj....thanks 4 your solution.I also forgot to mention that I know very basic stuff in Oracle as well...and i must admit that I never knew that RMAN can be used for backup...So, i'll have to read the link you sent me on RMAN ;) ...then I shall see how it can help in my database backup.&lt;BR /&gt;&lt;BR /&gt;I am actually only doing a backup on a table in a database.So, i'm not sure if using the option "full databse" in RMAN will be a good choice....Can you let me know of that...&lt;BR /&gt;&lt;BR /&gt;The script you sent me..I don't entirely understand it...is there any simpler code or something...&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Sep 2005 04:46:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633053#M808565</guid>
      <dc:creator>Jeena_1</dc:creator>
      <dc:date>2005-09-23T04:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Databse backup automated through Crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633054#M808566</link>
      <description>Hi Jeena ,&lt;BR /&gt;&lt;BR /&gt;If you have Oracle backup scripts already , then you need to schedule it with crontab , to make it automated backup , and also to decide what kind of backup you want , hotbackup or a cold backup.&lt;BR /&gt;&lt;BR /&gt;For cold backup you need to shutdown oracle and those scripts also need to put in crontab .&lt;BR /&gt;&lt;BR /&gt;[ To start a oracle backup at 8 pm everyday , need to add in cron as follows:]&lt;BR /&gt;&lt;BR /&gt;# crontab -e&lt;BR /&gt;00 20 * * * su - oracle -c /oracle_home/yourbkup.script&lt;BR /&gt;&lt;BR /&gt;To check and verify  crontab entry :&lt;BR /&gt;# crontab -l&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Sep 2005 05:22:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633054#M808566</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-09-23T05:22:16Z</dc:date>
    </item>
    <item>
      <title>Re: Databse backup automated through Crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633055#M808567</link>
      <description>Hi Raj, yes do know the command to insert a script in crontab...But what I do not know is how to create a script...I left programming 3 years ago...and i'm not quite sure how to create a script for the backup.I would appreciate if someone could give me a hint or an example of the script itself; so I could run it through crontab.&lt;BR /&gt;&lt;BR /&gt;The specification of my system, I have already mentioned in my previous post.&lt;BR /&gt;&lt;BR /&gt;It is the script that i'm not sure of...&lt;BR /&gt;&lt;BR /&gt;Thanks&amp;amp;Regards&lt;BR /&gt;</description>
      <pubDate>Fri, 23 Sep 2005 22:37:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633055#M808567</guid>
      <dc:creator>Jeena_1</dc:creator>
      <dc:date>2005-09-23T22:37:08Z</dc:date>
    </item>
    <item>
      <title>Re: Databse backup automated through Crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633056#M808568</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;You may wish to backup your table using a simple Oracle tool called EXP.&lt;BR /&gt;&lt;BR /&gt;a simple script would look like: (backuptable.sh)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#!/bin/sh &lt;BR /&gt;LOG_PATH=/backup/oracle/logfiles&lt;BR /&gt;ORACLE_HOME=/u01/app/oracle/product/10g&lt;BR /&gt;DMP_PATH=/backup/oracle/export&lt;BR /&gt;ACC_PASS=schemaowner/*****&lt;BR /&gt;&lt;BR /&gt;$ORACLE_HOME/bin/exp $ACC_PASS tables=(yourtable1, yourtable2) file=\($DMP_PATH1/tableexp.dmp\) buffer=409600 log=$LOG_PATH/tableexp.log rows=Y grants=y compress=N direct=n&lt;BR /&gt;#end of script&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;then an easy way to schedule is (using root account), adding the following line into your crontab&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;00 18 * * *  echo "/backup/scripts/oracle/backuptable.sh" | su - oracle 1&amp;gt;/backup/oracle/logfiles/output-export.crn 2&amp;gt;/backup/oracle/logfiles/error-export.crn    &lt;BR /&gt;&lt;BR /&gt;hope this helps!&lt;BR /&gt;&lt;BR /&gt;if you have any other questions, do let us know.&lt;BR /&gt;&lt;BR /&gt;NB. You should consider doing the backup of your whole database unless your organisation accepts to take the risk of your system crashing and not being able to recover any data.&lt;BR /&gt;&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Fri, 23 Sep 2005 23:35:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633056#M808568</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-09-23T23:35:20Z</dc:date>
    </item>
    <item>
      <title>Re: Databse backup automated through Crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633057#M808569</link>
      <description>Hi Jeena ,&lt;BR /&gt;&lt;BR /&gt;The above example by Yogeeraj is a good one.&lt;BR /&gt;&lt;BR /&gt;Well that will kepp the oracle backup in the system , i.e disk , if you want to create a tape backup for this , you can add another line in the crontab and tape backup also can be taken of the DMP export file.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;crontab -e&lt;BR /&gt;00 20 * * * tapebkup.sh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#script tapebkup.sh&lt;BR /&gt;##########################################&lt;BR /&gt;# Assuming Tape is in the Drive.&lt;BR /&gt;# starting Tape backup of Oracle Export file.&lt;BR /&gt;&lt;BR /&gt;TP_STATUS="`mt -f /dev/rmt/0mn status | grep BOT | awk '{print $3}' `"&lt;BR /&gt;if [ $TP_STATUS = "BOT" ]&lt;BR /&gt;then &lt;BR /&gt;echo " TAPE Present in the drive .."&lt;BR /&gt;else&lt;BR /&gt;echo " No Tape in the Drive !!!!exiting...Tape backup .."&lt;BR /&gt;exit 1&lt;BR /&gt;fi&lt;BR /&gt;cd /backup/oracle/export&lt;BR /&gt;tar -cvf /dev/rmt/0m  /backup/oracle/export/*  &amp;gt;&amp;gt;tapebkup.log&lt;BR /&gt;mt -f /dev/rmt/0m rew &amp;gt;&amp;gt; tapebkup.log&lt;BR /&gt;mt -f /dev/rmt/0m offl &amp;gt;&amp;gt; tapebkup.log&lt;BR /&gt;&lt;BR /&gt;echo "Tape backup of oracle completed at: `date ` successfully ..." &amp;gt;&amp;gt; /dev/tapebkup.log&lt;BR /&gt;#########################################&lt;BR /&gt;&lt;BR /&gt;Hope this will help ....plannig for a script..&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Raj.</description>
      <pubDate>Sat, 24 Sep 2005 19:47:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633057#M808569</guid>
      <dc:creator>Raj D.</dc:creator>
      <dc:date>2005-09-24T19:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Databse backup automated through Crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633058#M808570</link>
      <description>Yesss...this is exactly what I needed...Thanks...&lt;BR /&gt;&lt;BR /&gt;Just another question..&lt;BR /&gt;&lt;BR /&gt;If lets say, I decide to backup the entire database called ABC; from user abcadmin;&lt;BR /&gt;&lt;BR /&gt;So, how can I modify the ACC_PASS??&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Sun, 25 Sep 2005 22:47:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633058#M808570</guid>
      <dc:creator>Jeena_1</dc:creator>
      <dc:date>2005-09-25T22:47:48Z</dc:date>
    </item>
    <item>
      <title>Re: Databse backup automated through Crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633059#M808571</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;two options are possible:&lt;BR /&gt;&lt;BR /&gt;1. set ACC_PASS=abcuser/*****@ABC&lt;BR /&gt;&lt;BR /&gt;2. set ACC_PASS=system/***@ABC &lt;BR /&gt;  then add the clause owner=abcuser&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Mon, 26 Sep 2005 00:28:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633059#M808571</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-09-26T00:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Databse backup automated through Crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633060#M808572</link>
      <description>hmmmm....how about the below..how can I modify it, since i'm doing database backup instead of table..&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;$ACC_PASS tables=(yourtable1, yourtable2) file=\($DMP_PATH1/tableexp.dmp\) buffer=409600 log=$LOG_PATH/tableexp.log rows=Y grants=y compress=N direct=n&lt;BR /&gt;&lt;BR /&gt;I would also like to know what is the purpose of the command "rows=Y grants=y compress=N direct=n" as written above.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance...</description>
      <pubDate>Mon, 26 Sep 2005 04:12:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633060#M808572</guid>
      <dc:creator>Jeena_1</dc:creator>
      <dc:date>2005-09-26T04:12:50Z</dc:date>
    </item>
    <item>
      <title>Re: Databse backup automated through Crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633061#M808573</link>
      <description>hi again,&lt;BR /&gt;&lt;BR /&gt;you should change as follows:&lt;BR /&gt;$ACC_PASS full=y file=\($DMP_PATH1/tableexp.dmp\) buffer=409600 log=$LOG_PATH/fulldbexp.log rows=Y grants=y compress=N direct=n&lt;BR /&gt;&lt;BR /&gt;How biig is your database?&lt;BR /&gt;&lt;BR /&gt;(NB. the ACC_PASS should define a user with dba privilege on the database.)&lt;BR /&gt;&lt;BR /&gt;ROWS=Y:     export data rows &lt;BR /&gt;GRANTS=Y:   export grants &lt;BR /&gt;DIRECT=N:   Don't use direct path export. Export in direct path mode simply bypasses the SQL evaluation buffer (where clause processing, column formatting and such). The speedup of the direct path export can be large however. The 10% of the processing that it cuts out, accounts for a much larger percentage of the run-time. I don't recommend using DIRECT=Y because have had faced some bugs.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;more detailed explanation is available at: &lt;A href="http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/ch01.htm" target="_blank"&gt;http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/ch01.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;hope this helps too!&lt;BR /&gt;kind regards&lt;BR /&gt;yogeeraj</description>
      <pubDate>Mon, 26 Sep 2005 04:24:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633061#M808573</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-09-26T04:24:50Z</dc:date>
    </item>
    <item>
      <title>Re: Databse backup automated through Crontab</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633062#M808574</link>
      <description>hi&lt;BR /&gt;Regarding the below:-&lt;BR /&gt;$ACC_PASS full=y file=\($DMP_PATH1/tableexp.dmp\) buffer=409600 log=$LOG_PATH/fulldbexp.log rows=Y grants=y compress=N direct=n&lt;BR /&gt;&lt;BR /&gt;If I want the output to look like this;&lt;BR /&gt;ARAdmin_tm02_03102005-08:40:23.dmp&lt;BR /&gt;(where ARAdmin is the tablename and tm02 is the database name)&lt;BR /&gt;&lt;BR /&gt;I should change the script(for line 2) to this;&lt;BR /&gt;file=\($DMP_PATH1/ARAdmin_tm02_"$dt".dmp\)&lt;BR /&gt;&lt;BR /&gt;where dt=date (this is declared at the beginning of the scrpit)&lt;BR /&gt;&lt;BR /&gt;Is it correct...Please correct me if i'm wrong...&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;</description>
      <pubDate>Sun, 02 Oct 2005 22:37:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/databse-backup-automated-through-crontab/m-p/3633062#M808574</guid>
      <dc:creator>Jeena_1</dc:creator>
      <dc:date>2005-10-02T22:37:59Z</dc:date>
    </item>
  </channel>
</rss>

