{"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":"T\u00e1\u00ba\u00a1o k\u00e1\u00ba\u00bft xu\u00e1\u00ba\u00a5t t\u00e1\u00bb\u00ab \u00e2\u20ac\u2039\u00e2\u20ac\u2039l\u00c6\u00b0\u00e1\u00bb\u00a3c \u00c4\u2018\u00e1\u00bb\u201c Oracle trong b\u00e1\u00ba\u00a3ng \u00c4\u2018i\u00e1\u00bb\u0081u khi\u00e1\u00bb\u0192n trong Linux"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Kh\u00f4ng d\u1ec5 \u0111\u1ec3 t\u00ecm ra c\u00e1ch ch\u00ednh x\u00e1c \u0111\u1ec3 th\u1ef1c thi l\u1ec7nh expdp trong b\u1ea3ng \u0111i\u1ec1u khi\u1ec3n. C\u00f3 m\u1ed9t s\u1ed1 b\u01b0\u1edbc tr\u01b0\u1edbc khi b\u1ea1n th\u1ef1c hi\u1ec7n l\u1ec7nh expdp.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Tr\u01b0\u1edbc ti\u00ean, b\u1ea1n ph\u1ea3i t\u1ea1o m\u1ed9t th\u01b0 m\u1ee5c tr\u00ean m\u00e1y t\u00ednh ch\u1ee9a Oracle DB, n\u01a1i b\u1ea1n s\u1ebd \u0111\u1eb7t c\u00e1c t\u1ec7p k\u1ebft xu\u1ea5t, sau \u0111\u00f3 b\u1ea1n ph\u1ea3i c\u1ea5p cho l\u01b0\u1ee3c \u0111\u1ed3 quy\u1ec1n t\u1ea1o th\u01b0 m\u1ee5c.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Th\u1ef1c thi l\u1ec7nh n\u00e0y trong SQL Developer ho\u1eb7c trong sqlplus:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>c\u1ea5p quy\u1ec1n t\u1ea1o b\u1ea5t k\u1ef3 th\u01b0 m\u1ee5c n\u00e0o cho myschema;<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thay th\u1ebf <strong>s\u01a1 \u0111\u1ed3 b\u1ec7nh l\u00fd<\/strong> v\u1edbi t\u00ean l\u01b0\u1ee3c \u0111\u1ed3 c\u1ee7a b\u1ea1n.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">h\u01a1n khi b\u1ea1n \u0111\u01b0\u1ee3c k\u1ebft n\u1ed1i trong l\u01b0\u1ee3c \u0111\u1ed3 <strong>s\u01a1 \u0111\u1ed3 b\u1ec7nh l\u00fd<\/strong> t\u1ea1o th\u01b0 m\u1ee5c: <\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>T\u1ea0O TH\u01af M\u1ee4C DB_DUMP d\u01b0\u1edbi d\u1ea1ng &#8216;\/path\/to\/my-dump-directory&#8217;;<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">h\u01a1n l\u00e0 m\u1edf b\u1ea3ng \u0111i\u1ec1u khi\u1ec3n tr\u00ean m\u00e1y t\u00ednh b\u1eb1ng Oracle DB v\u00e0 th\u1ef1c thi:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>expdp &#8220;&#8216;<strong>s\u01a1 \u0111\u1ed3 b\u1ec7nh l\u00fd<\/strong> \/PASSWORD@(DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(Host=hostname)(Port=portname))(CONNECT_DATA=(SID=SID_name)))'&#8221; DIRECTORY=DB_DUMP REUSE_DUMPFILES=YES DUMPFILE=dump-XX-XX-2022.dmp LOGFILE=dump.log l\u01b0\u1ee3c \u0111\u1ed3=&#8221;<strong><strong>s\u01a1 \u0111\u1ed3 b\u1ec7nh l\u00fd<\/strong><\/strong><\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">B\u1ea1n ph\u1ea3i thay th\u1ebf trong l\u1ec7nh <strong><strong><strong>s\u01a1 \u0111\u1ed3 b\u1ec7nh l\u00fd<\/strong><\/strong><\/strong> v\u1edbi t\u00ean l\u01b0\u1ee3c \u0111\u1ed3 c\u1ee7a b\u1ea1n, m\u1eadt kh\u1ea9u v\u1edbi m\u1eadt kh\u1ea9u ch\u00ednh x\u00e1c, t\u00ean m\u00e1y ch\u1ee7, t\u00ean c\u1ed5ng, SID_name, t\u00ean TR\u1ef0C TI\u1ebeP n\u1ebfu kh\u00e1c, t\u00ean t\u1ec7p k\u1ebft xu\u1ea5t, t\u00ean t\u1ec7p nh\u1eadt k\u00fd.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">T\u00f4i kh\u00f4ng th\u1ec3 t\u00ecm th\u1ea5y tr\u00ean Google c\u00fa ph\u00e1p ch\u00ednh x\u00e1c cho <strong>expdp<\/strong> l\u1ec7nh v\u00e0 c\u00e1ch t\u1ea1o k\u1ebft xu\u1ea5t Oracle. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Kh\u00f4ng d\u1ec5 \u0111\u1ec3 t\u00ecm ra c\u00e1ch ch\u00ednh x\u00e1c \u0111\u1ec3 th\u1ef1c thi l\u1ec7nh expdp trong b\u1ea3ng \u0111i\u1ec1u khi\u1ec3n. C\u00f3 m\u1ed9t s\u1ed1 b\u01b0\u1edbc tr\u01b0\u1edbc khi b\u1ea1n th\u1ef1c hi\u1ec7n l\u1ec7nh expdp. Tr\u01b0\u1edbc ti\u00ean, b\u1ea1n ph\u1ea3i t\u1ea1o m\u1ed9t th\u01b0 m\u1ee5c tr\u00ean m\u00e1y t\u00ednh ch\u1ee9a Oracle DB, n\u01a1i b\u1ea1n s\u1ebd \u0111\u1eb7t c\u00e1c t\u1ec7p k\u1ebft xu\u1ea5t, sau \u0111\u00f3 b\u1ea1n ph\u1ea3i c\u1ea5p [&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-cac-bai-viet-ve-tat-ca-cac-chu-de-khac-khong-thuoc-cac-chu-de-chinh","tag-ket-xuat-co-so-du-lieu-bang-dieu-khien","tag-ket-xuat-co-so-du-lieu","tag-expdp","tag-nha-tien-tri"],"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":"L\u00c3\u00a0m th\u00e1\u00ba\u00bf n\u00c3\u00a0o \u00c4\u2018\u00e1\u00bb\u0192 k\u00c3\u00bd v\u00c3\u00a0o l\u00e1\u00bb\u008d. K\u00c3\u00bd c\u00c3\u00a1c l\u00e1\u00bb\u008d \u00c4\u2018\u00e1\u00bb\u0192 s\u00e1\u00bb\u00ad d\u00e1\u00bb\u00a5ng trong Applet.","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\u00a1ch c\u00c3\u00a0i \u00c4\u2018\u00e1\u00ba\u00b7t testdisk tr\u00c3\u00aan Ubuntu v\u00c3\u00a0 th\u00c3\u00aam kho v\u00c5\u00a9 tr\u00e1\u00bb\u00a5","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;C\u00c3\u00a1c b\u00c3\u00a0i vi\u00e1\u00ba\u00bft v\u00e1\u00bb\u0081 t\u00e1\u00ba\u00a5t c\u00e1\u00ba\u00a3 c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 kh\u00c3\u00a1c kh\u00c3\u00b4ng thu\u00e1\u00bb\u2122c c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 ch\u00c3\u00adnh&quot;","block_context":{"text":"C\u00c3\u00a1c b\u00c3\u00a0i vi\u00e1\u00ba\u00bft v\u00e1\u00bb\u0081 t\u00e1\u00ba\u00a5t c\u00e1\u00ba\u00a3 c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 kh\u00c3\u00a1c kh\u00c3\u00b4ng thu\u00e1\u00bb\u2122c c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 ch\u00c3\u00adnh","link":"https:\/\/vkrastev1blog.com\/category\/cac-bai-viet-ve-tat-ca-cac-chu-de-khac-khong-thuoc-cac-chu-de-chinh\/"},"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":"C\u00c3\u00a0i \u00c4\u2018\u00e1\u00ba\u00b7t Solr 8 trong Windows d\u00c6\u00b0\u00e1\u00bb\u203ai d\u00e1\u00ba\u00a1ng D\u00e1\u00bb\u2039ch v\u00e1\u00bb\u00a5","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;C\u00c3\u00a1c b\u00c3\u00a0i vi\u00e1\u00ba\u00bft v\u00e1\u00bb\u0081 t\u00e1\u00ba\u00a5t c\u00e1\u00ba\u00a3 c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 kh\u00c3\u00a1c kh\u00c3\u00b4ng thu\u00e1\u00bb\u2122c c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 ch\u00c3\u00adnh&quot;","block_context":{"text":"C\u00c3\u00a1c b\u00c3\u00a0i vi\u00e1\u00ba\u00bft v\u00e1\u00bb\u0081 t\u00e1\u00ba\u00a5t c\u00e1\u00ba\u00a3 c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 kh\u00c3\u00a1c kh\u00c3\u00b4ng thu\u00e1\u00bb\u2122c c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 ch\u00c3\u00adnh","link":"https:\/\/vkrastev1blog.com\/category\/cac-bai-viet-ve-tat-ca-cac-chu-de-khac-khong-thuoc-cac-chu-de-chinh\/"},"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":"C\u00c3\u00a1c l\u00e1\u00bb\u2021nh Shell script quan tr\u00e1\u00bb\u008dng th\u00c6\u00b0\u00e1\u00bb\u009dng \u00c4\u2018\u00c6\u00b0\u00e1\u00bb\u00a3c s\u00e1\u00bb\u00ad d\u00e1\u00bb\u00a5ng","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;C\u00c3\u00a1c b\u00c3\u00a0i vi\u00e1\u00ba\u00bft v\u00e1\u00bb\u0081 t\u00e1\u00ba\u00a5t c\u00e1\u00ba\u00a3 c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 kh\u00c3\u00a1c kh\u00c3\u00b4ng thu\u00e1\u00bb\u2122c c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 ch\u00c3\u00adnh&quot;","block_context":{"text":"C\u00c3\u00a1c b\u00c3\u00a0i vi\u00e1\u00ba\u00bft v\u00e1\u00bb\u0081 t\u00e1\u00ba\u00a5t c\u00e1\u00ba\u00a3 c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 kh\u00c3\u00a1c kh\u00c3\u00b4ng thu\u00e1\u00bb\u2122c c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 ch\u00c3\u00adnh","link":"https:\/\/vkrastev1blog.com\/category\/cac-bai-viet-ve-tat-ca-cac-chu-de-khac-khong-thuoc-cac-chu-de-chinh\/"},"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 kh\u00c3\u00b4ng c\u00c3\u00b3 nh\u00e1\u00ba\u00adt k\u00c3\u00bd 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":"M\u00c3\u00a1y ch\u00e1\u00bb\u00a7 c\u00e1\u00ba\u00a5u h\u00c3\u00acnh MSSQL \u00c4\u2018\u00e1\u00bb\u0192 x\u00c3\u00a1c th\u00e1\u00bb\u00b1c SQL. \u00c4\u0090\u00c4\u0192ng nh\u00e1\u00ba\u00adp MSSQL b\u00e1\u00ba\u00b1ng t\u00c3\u00aan ng\u00c6\u00b0\u00e1\u00bb\u009di d\u00c3\u00b9ng v\u00c3\u00a0 m\u00e1\u00ba\u00adt kh\u00e1\u00ba\u00a9u","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;C\u00c3\u00a1c b\u00c3\u00a0i vi\u00e1\u00ba\u00bft v\u00e1\u00bb\u0081 t\u00e1\u00ba\u00a5t c\u00e1\u00ba\u00a3 c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 kh\u00c3\u00a1c kh\u00c3\u00b4ng thu\u00e1\u00bb\u2122c c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 ch\u00c3\u00adnh&quot;","block_context":{"text":"C\u00c3\u00a1c b\u00c3\u00a0i vi\u00e1\u00ba\u00bft v\u00e1\u00bb\u0081 t\u00e1\u00ba\u00a5t c\u00e1\u00ba\u00a3 c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 kh\u00c3\u00a1c kh\u00c3\u00b4ng thu\u00e1\u00bb\u2122c c\u00c3\u00a1c ch\u00e1\u00bb\u00a7 \u00c4\u2018\u00e1\u00bb\u0081 ch\u00c3\u00adnh","link":"https:\/\/vkrastev1blog.com\/category\/cac-bai-viet-ve-tat-ca-cac-chu-de-khac-khong-thuoc-cac-chu-de-chinh\/"},"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}]}}