Skip to Main Content

Database Software

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!

Export oracle database using DBMS_SCHEDULER repeat after 10 minutes

Anjlesh RaiNov 4 2015 — edited Dec 3 2015

Hi All,

I an using oracle 11g  express edition .i want to export my oracle database using DBMS_SCHEDULER package after every 10 minutes.  i am using ubuntu 14.04 os.

I have created  one procedure and its successfully created but export of db is not working.

Procedure :

conn sys/oracle as sysdba

create or replace procedure Export_db

as

BEGIN

DBMS_SCHEDULER.create_job (

job_name => 'Expot_db',

job_type => 'executable',

job_action => 'exp kan/kan file=/home/ats/Desktop/backup.dmp',

start_date => SYSTIMESTAMP,

repeat_interval => 'FREQ=MINUTELY; INTERVAL=10;',

end_date => NULL,

enabled => TRUE,

comments => 'export_db_every_10 minutes');

END;

grant execute on Export_db to kan;





Please help me.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 31 2015
Added on Nov 4 2015
16 comments
5,202 views