{"id":174,"date":"2022-02-08T14:03:37","date_gmt":"2022-02-08T14:03:37","guid":{"rendered":"https:\/\/vkrastev1blog.com\/?p=174"},"modified":"2026-10-19T12:27:48","modified_gmt":"2026-10-19T12:27:48","slug":"create-dump-from-oracle-schema-in-console-in-linux","status":"publish","type":"post","link":"https:\/\/vkrastev1blog.com\/2022\/02\/08\/create-dump-from-oracle-schema-in-console-in-linux\/","title":{"rendered":"Crear volcado desde el esquema de Oracle en la consola en Linux"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">No es f\u00c3\u00a1cil encontrar la forma correcta de ejecutar el comando expdp en la consola. Hay algunos pasos antes de ejecutar el comando expdp.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Primero debe crear un directorio en la computadora donde est\u00c3\u00a1 Oracle DB, donde colocar\u00c3\u00a1 los archivos de volcado y luego deber\u00c3\u00a1 otorgarle a un esquema los derechos para crear un directorio.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ejecute este comando en SQL Developer o en sqlplus:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>otorgar crear cualquier directorio a myschema;<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Reemplazar <strong>misquema<\/strong> con el nombre de su esquema.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">que cuando est\u00c3\u00a1s conectado en el esquema <strong>misquema<\/strong> crear el directorio: <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>CREAR DIRECTORIO DB_DUMP como &#8216;\/ruta\/a\/mi-directorio-de-volcado&#8217;;<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">luego abra la consola en la computadora con la base de datos Oracle y ejecute:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>expdp &#8220;&#8216;<strong>misquema<\/strong> \/PASSWORD@(DESCRIPCI\u00c3\u201cN=(DIRECCI\u00c3\u201cN=(PROTOCOL=TCP)(Host=nombre de host)(Puerto=nombre de puerto))(CONNECT_DATA=(SID=SID_nombre)))'&#8221; DIRECTORY=DB_DUMP REUSE_DUMPFILES=YES DUMPFILE=dump-XX-XX-2022.dmp LOGFILE=dump.log esquemas=&#8221;<strong><strong>misquema<\/strong><\/strong><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Tienes que reemplazar al mando el <strong><strong><strong>misquema<\/strong><\/strong><\/strong> con su nombre de esquema, la contrase\u00c3\u00b1a con la contrase\u00c3\u00b1a correcta, el nombre de host, el nombre de puerto, el nombre de SID, el nombre del DIRECTORIO si es otro, el nombre del archivo de volcado, el nombre del archivo de registro.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">No pude encontrar en Google la sintaxis correcta para <strong>expdp<\/strong> comando y c\u00c3\u00b3mo hacer el volcado de Oracle. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>No es f\u00c3\u00a1cil encontrar la forma correcta de ejecutar el comando expdp en la consola. Hay algunos pasos antes de ejecutar el comando expdp. Primero debe crear un directorio en la computadora donde est\u00c3\u00a1 Oracle DB, donde colocar\u00c3\u00a1 los archivos de volcado y luego deber\u00c3\u00a1 otorgarle a un esquema los derechos para crear un directorio. [&hellip;]<\/p>\n","protected":false},"author":65283547,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","jetpack_seo_llms_txt_always_include":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[559],"tags":[729567818,27737053,937829,100496292],"class_list":["post-174","post","type-post","status-publish","format-standard","hentry","category-articulos-sobre-todos-los-demas-temas-que-no-estan-incluidos-en-los-temas","tag-console-database-dump","tag-database-dump","tag-expdp","tag-oracle-dump"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4CoHV-2O","jetpack-related-posts":[{"id":47,"url":"https:\/\/vkrastev1blog.com\/2014\/05\/11\/how-to-sign-jars-signing-jars-for-use-in-applets\/","url_meta":{"origin":174,"position":0},"title":"C\u00c3\u00b3mo firmar tarros. Frascos de firma para uso en applets.","author":"vkrastev2014","date":"11.05.2014","format":false,"excerpt":"As the Browsers now want the Jars to be signed it happens oft that man have to sign a Jar himself. Here is a Manual how to sign a Jar. First you have to install Java SDK. http:\/\/www.oracle.com\/technetwork\/java\/javase\/downloads\/index.html?ssSourceSiteId=otnjp Install the JDK from the list for the envitonment you use. This\u2026","rel":"","context":"In &quot;Java&quot;","block_context":{"text":"Java","link":"https:\/\/vkrastev1blog.com\/category\/java\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":21,"url":"https:\/\/vkrastev1blog.com\/2014\/05\/09\/how-to-install-testdisk-on-ubuntu-and-to-add-universe-repository\/","url_meta":{"origin":174,"position":1},"title":"C\u00c3\u00b3mo instalar testdisk en Ubuntu y agregar un repositorio universal","author":"vkrastev2014","date":"09.05.2014","format":false,"excerpt":"Execute the command in console in Ubuntu. The commands are made for \u00a0Ubuntu 12.04 LTS (Precise Pangolin). For your Ubuntu Version replace \"precise\" in these commands with your Ubuntu Version name: sudo add-apt-repository \"deb http:\/\/us.archive.ubuntu.com\/ubuntu precise universe miltiverse\" sudo add-apt-repository \"deb http:\/\/us.archive.ubuntu.com\/ubuntu precise-updates universe miltiverse\" sudo apt-get update sudo apt-get\u2026","rel":"","context":"In &quot;Art\u00c3\u00adculos sobre todos los dem\u00c3\u00a1s temas que no est\u00c3\u00a1n incluidos en los temas principales&quot;","block_context":{"text":"Art\u00c3\u00adculos sobre todos los dem\u00c3\u00a1s temas que no est\u00c3\u00a1n incluidos en los temas principales","link":"https:\/\/vkrastev1blog.com\/category\/articulos-sobre-todos-los-demas-temas-que-no-estan-incluidos-en-los-temas\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":232,"url":"https:\/\/vkrastev1blog.com\/2022\/10\/31\/install-solr-8-under-windows-as-service\/","url_meta":{"origin":174,"position":2},"title":"Instale Solr 8 en Windows como servicio","author":"vkrastev2014","date":"31.10.2022","format":false,"excerpt":"Here is short explained how to install Solr 8 as Windows service Download nssm from https:\/\/nssm.cc\/release\/nssm-2.24.zip and extract it to C:\\Program Files\\nssm Donwload Solr 8 from https:\/\/dlcdn.apache.org\/lucene\/solr\/8.11.2\/solr-8.11.2.zip and extract it to C:\\web\\solr Java Version 8 or later have to be istalled and JAVA_HOME environment variable set Create Windows Service solr8.\u2026","rel":"","context":"In &quot;Art\u00c3\u00adculos sobre todos los dem\u00c3\u00a1s temas que no est\u00c3\u00a1n incluidos en los temas principales&quot;","block_context":{"text":"Art\u00c3\u00adculos sobre todos los dem\u00c3\u00a1s temas que no est\u00c3\u00a1n incluidos en los temas principales","link":"https:\/\/vkrastev1blog.com\/category\/articulos-sobre-todos-los-demas-temas-que-no-estan-incluidos-en-los-temas\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":55,"url":"https:\/\/vkrastev1blog.com\/2014\/05\/11\/important-shell-script-commands-which-are-oft-used\/","url_meta":{"origin":174,"position":3},"title":"Comandos importantes del script de Shell que se utilizan a menudo","author":"vkrastev2014","date":"11.05.2014","format":false,"excerpt":"Here is a list of some important shell commands: ---- Using Screen command screen -ls -- for a list of avaliable active screens screen -x .... - the Name from -ls output to join to this active screen Go out of the Screen with 'ctrl a+d' without stopping it ----\u2026","rel":"","context":"In &quot;Art\u00c3\u00adculos sobre todos los dem\u00c3\u00a1s temas que no est\u00c3\u00a1n incluidos en los temas principales&quot;","block_context":{"text":"Art\u00c3\u00adculos sobre todos los dem\u00c3\u00a1s temas que no est\u00c3\u00a1n incluidos en los temas principales","link":"https:\/\/vkrastev1blog.com\/category\/articulos-sobre-todos-los-demas-temas-que-no-estan-incluidos-en-los-temas\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":229,"url":"https:\/\/vkrastev1blog.com\/2022\/06\/03\/eclipse-tomcat-no-catalina-out-log\/","url_meta":{"origin":174,"position":4},"title":"Eclipse Tomcat sin registro de catalina.out","author":"vkrastev2014","date":"03.06.2022","format":false,"excerpt":"In Eclipse you have already added Tomcat as Server than you do following: In the servers tab, double-click on the Tomcat Server. You will get a screen called Overview.Click on \"Open launch configuration\". Click on the \"Common\" tab.Towards the bottom of the screen you can check the \"Output File\" checkbox\u2026","rel":"","context":"In &quot;Java&quot;","block_context":{"text":"Java","link":"https:\/\/vkrastev1blog.com\/category\/java\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":237,"url":"https:\/\/vkrastev1blog.com\/2023\/09\/12\/mssql-configure-server-for-sql-authentication-mssql-login-with-username-and-password\/","url_meta":{"origin":174,"position":5},"title":"MSSQL configura el servidor para la autenticaci\u00c3\u00b3n SQL. Inicio de sesi\u00c3\u00b3n MSSQL con nombre de usuario y contrase\u00c3\u00b1a","author":"vkrastev2014","date":"12.09.2023","format":false,"excerpt":"In SQL Server Management Studio (SSMS) Object Explorer, right-click the server, and then select Properties. On the Security page, under Server authentication, select 'SQL and Windows authentication mode', and then select OK. You have to restart the server. You can try to access the Database from command line with: sqlcmd\u2026","rel":"","context":"In &quot;Art\u00c3\u00adculos sobre todos los dem\u00c3\u00a1s temas que no est\u00c3\u00a1n incluidos en los temas principales&quot;","block_context":{"text":"Art\u00c3\u00adculos sobre todos los dem\u00c3\u00a1s temas que no est\u00c3\u00a1n incluidos en los temas principales","link":"https:\/\/vkrastev1blog.com\/category\/articulos-sobre-todos-los-demas-temas-que-no-estan-incluidos-en-los-temas\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/posts\/174","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/users\/65283547"}],"replies":[{"embeddable":true,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/comments?post=174"}],"version-history":[{"count":7,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/posts\/174\/revisions"}],"predecessor-version":[{"id":2826,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/posts\/174\/revisions\/2826"}],"wp:attachment":[{"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/media?parent=174"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/categories?post=174"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vkrastev1blog.com\/wp-json\/wp\/v2\/tags?post=174"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}