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!

ORA-39000 bad dump file specification

user12251389Feb 3 2016 — edited Feb 3 2016

Hello All,

I am trying to perform a windows scheduler job  which will create back up of my database daily once. So for this reason i have created batch file `PREPROD_BACKUP.bat` which contains data:

        @echo off

        setlocal EnableDelayedExpansion

        expdp SYSTEM/Leosoft@XE PARFILE=export_dump.par

The export_dump.par file contains information:

    DIRECTORY=preprod_cron_jobs

    DUMPFILE=ratormonitor_!date:~10,4!!date:~6,2!.!date:~4,2!.dmp

    LOGFILE=ratormonitor.log

    SCHEMAS=RATOR_MONITORING,RATOR_MONITORING_CONFIGURATION

    CONTENT=ALL

When i trying to run the `PREPROD_BACKUP.bat` i am getting error as `ORA-39001:invalid argument value`,`ORA-39000 bad dump file specification`,ORA-39087:directory name ratormonitor_!date is invalid. I am trying to create dump file with current datetimestamp attached to the file so the dump file name should look like this `ratormonitor_2015.02.03.37.029062831` but getting an error.

This post has been answered by top.gun on Feb 3 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 2 2016
Added on Feb 3 2016
1 comment
1,941 views