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!

Backup with exp command on daily basis...

misterimranJul 29 2010 — edited Jul 29 2010
Dear All,

I have an Oracle 11gR2 Linux based server. Server contains about 4 database users.
I need to backup these 4 users on daily basis. For this I log on to the server, run exp command and in parameters provide path of the parameter file. Backup is created in the folder defined in the parameter file. Also i have to change the file daily to change name of the backup dmp and log files.

These are the contents of parameter file:

FILE=c:\BSS_28_07_10m.dmp
LOG=c:\BSS_28_07_10m.log
OWNER=
TRAVEL,
STD_UNIV,
LOG,
INVENTORY
COMPRESS=Y
ROWS=Y
INDEXES=Y
STATISTICS=NONE

This is the command for exp

exp user/pass@web parfile=e:\db_backup\exp-production.txt

Is there any possibility to schedule this routine automatically performing the backup daily and changing the file name itself.

Please help

Imran
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 26 2010
Added on Jul 29 2010
11 comments
4,991 views