Register now and start sharing your code snippets.
-->
How to export and import Oracle schemas, or backup Oracle databases
Shell Script (Bash) posted 10 months ago by christian
You can use the exp and imp executables to perform data backup and restoration.
1 -- Export 2 exp <username>/<password>@<server> file=data.dmp consistent=y grants=no statistics=none 3 4 -- Import 5 imp <username>/<password>@<server> file=data.dmp fromuser=<source_username> touser=<username>