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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Timestamp in expdp dump file name

robertl2Feb 23 2018 — edited Feb 26 2018

Dear all,

my question is how do I add the full timestamp, or at least the date YYYYMMDD, in the file name of the dump file which I export every day by the expdp tool?

expdp 'sys/*******@mydadabase as sysdba' schemas=abcdefg flashback_time=systimestamp DIRECTORY=DAILY_DUMP_DIR DUMPFILE=daily_dump_export.dmp logfile=daily_dump_export.log

I would like to have file names like e.g. mydump_20180222.dmp

Oracle is 11.2 and Windows server.

Thx in advance

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 26 2018
Added on Feb 23 2018
5 comments
4,494 views