Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Configuring Crontab auto backup on RHL

RaakhNov 6 2010 — edited Nov 6 2010
Hello,

I tried to automate my dedicated server backup in the following way:

1) $ su - oracle ===> $ vi darchive.sh
. $HOME/.profile
export ORACLE_SID=XE
rman nocatalog << EOF
connect target
configure controlfile autobackup on;
backup database plus archivelog delete input;
delete noprompt obsolete;
EOF
2) root@myserver.com ~> crontab -e
00 23 * * 1,3,5 /usr/lib/oracle/xe/darchive.sh 1>/usr/lib/oracle/xe/log_file 2>&1

3) created log_file at /usr/lib/oracle/xe

This not worked. Where is the problem. Please help me

Best regards
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 4 2010
Added on Nov 6 2010
19 comments
534 views