Last active
October 9, 2015 13:47
-
-
Save altitdb/3516986 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Oracle | |
Exportar/Importar database. | |
Export FULL: | |
exp my_user/my_password@my_database full=y file=name_my_dump.dmp | |
Import FULL: | |
imp my_user/my_password@my_database full=y file=name_my_dump.dmp | |
Export from SCHEMA: | |
exp my_user/my_password@my_database owner=my_user file=name_my_dump.dmp grants=y indexes=y | |
Import to SCHEMA: | |
imp my_user/my_password@my_database full=y file=name_my_dump.dmp | |
Import from USER to USER: | |
imp my_user/my_password@my_database fromuser=my_user touser=my_user file=name_my_dump.dmp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment