Oracle Full Datapump Export with crontab
So I get many visits for my post on Oracle Full Datapump Export Batch, so here is the same export script for UNIX systems.
Before using this script, please read my advice:
Read the rest of this entrySo I get many visits for my post on Oracle Full Datapump Export Batch, so here is the same export script for UNIX systems.
Before using this script, please read my advice:
Read the rest of this entryOn a few test databases, test managers often need to preserve certain states in the database. This is why we use daily datapump scripts to create exports for archival.
It is important to note that such scripts are never a replacement for a proper RMAN backup, but an easy way to preserve multiple states of a database and reuse data where applicable.
This batch file uses the expdp tool provided by Oracle and the 7-zip archiver to compress the exports for archival. The export tool itself creates a full export of the whole database (full=y
). Also, the flashback_time
parameter is specified to get a consistent export.
My name is Simon Krenger, I am a Technical Account Manager (TAM) at Red Hat. I advise our customers in using Kubernetes, Containers, Linux and Open Source.