{"id":2338,"date":"2012-01-06T09:00:49","date_gmt":"2012-01-06T17:00:49","guid":{"rendered":"http:\/\/www.technosolutions.com\/kb\/2338\/backup-topteam-oracle-database-schema\/"},"modified":"2016-07-26T04:48:06","modified_gmt":"2016-07-26T11:48:06","slug":"backup-topteam-oracle-database-schema","status":"publish","type":"post","link":"http:\/\/www.technosolutions.com\/kb\/2338\/backup-topteam-oracle-database-schema\/","title":{"rendered":"Backup TopTeam Oracle Database Schema"},"content":{"rendered":"<div><!-- Start ScreenSteps Content --><\/div>\n<div class=\"LessonContent\">\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size: 20px;\">Overview<\/h3>\n<p>TopTeam Database is a critical part of TopTeam Application Server.<br \/>\nIt is important that database backups are done regularly and often.<br \/>\nIn the event of a System failure, you will be able to restore your database files from the saved backups.<\/p>\n<\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size: 20px;\">What is this article about?<\/h3>\n<p>In this article, you will learn how to backup TopTeam Oracle database schema.<\/p>\n<p>There are multiple ways to backup an Oracle database. You will learn how to run a hot backup which means backing up the database while users are still connected and editing within the system.<\/p>\n<p>Refer to articles on Oracle Backup on the Microsoft website and identify which backup mechanism is best suited for your organization.<\/p>\n<\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size: 20px;\">About Oracle Export Utility<\/h3>\n<p>Oracle provides multiple ways to Backup your data. One of the techniques that we will elaborate here is through the Export utility:<\/p>\n<p>Exporting &#8211;\u00a0Copying database data to external files for importing into another Oracle database. The files are in a proprietary binary format.<br \/>\nImporting &#8211;\u00a0Copying data into Oracle database from external files that were created by exporting data from another Oracle database.<\/p>\n<p>You can use the<em> Export Utility of Oracle to take backups <\/em>of database schema.<br \/>\nThe Export utility provides a simple way to take backups or transfer data between Oracle databases.<\/p>\n<p><em>Export dump files<\/em> can only be read by the Oracle Import utility. The version of the Import utility cannot be earlier than the version of the\u00a0<em>Export utility used to create the dump file<\/em>.<\/p>\n<p>Invoking Export Utility in the Oracle Database &#8211;\u00a0You can invoke Export Utility and specify parameters by using the\u00a0<em>Command Line Entries<\/em> methods. It is an\u00a0<em>interactive <\/em>mode of exporting data.<\/p>\n<\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size: 20px;\">Who should read this?<\/h3>\n<div class=\"StepInstructions\">\n<div>\n<ul>\n<li>System Administrators<\/li>\n<li>Database Administrators<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size: 20px;\">Preparations<\/h3>\n<p>1. Identify which TopTeam Oracle database you want to backup and connect.<\/p>\n<p>2. Ensure that you know the TopTeam database schema username and password.<\/p>\n<p>3. Ensure that Oracle Client compatible to Oracle Server version is installed on the computer on which the\u00a0<em>Export utility<\/em> will run.<\/p>\n<p>4. Ensure that there is a sufficient hard disk space available so that a backup file can be created.<\/p>\n<p>5. Ensure that you have write access on the disk on which you want to take a backup.<\/p>\n<\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size: 20px;\">Step 1. Start Export Utility from Oracle<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-layzr=\"http:\/\/www.technosolutions.com\/kb\/wp-content\/uploads\/2014\/02\/media_1278312231327.png\" alt=\"media_1278312231327.png\" width=\"349\" height=\"188\" \/><\/p>\n<p>1. Go to <strong>Start <\/strong>button on the Taskbar. Select &#8220;Run&#8221; from the Program menu.<\/p>\n<p>2. Enter &#8220;exp&#8221; in the Run window to start Oracle Export Utility.<\/p>\n<\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size: 20px;\">Step 2. Enter Username and Password for Oracle Database Schema<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-layzr=\"http:\/\/www.technosolutions.com\/kb\/wp-content\/uploads\/2015\/06\/media_1278061112909.png\" alt=\"media_1278061112909.png\" width=\"668\" height=\"163\" \/><\/p>\n<p>Enter Username, Password and Host String of Oracle database schema which you wish to backup.<\/p>\n<\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size: 20px;\">Step 3. Specify buffer size<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-layzr=\"http:\/\/www.technosolutions.com\/kb\/wp-content\/uploads\/2015\/06\/media_1278061162790.png\" alt=\"media_1278061162790.png\" width=\"667\" height=\"189\" \/><\/p>\n<div class=\"StepInstructions\">\n<div>\n<p>Specifies the size in bytes of the buffer, which is used to fetch rows. As a result, this parameter determines the maximum number of rows in an array fetched by Export.<br \/>\nIf you specify zero, the\u00a0<em>Export utility<\/em> fetches only one row at a time.<br \/>\nPress Enter so that the data is exported up to maximum length.<br \/>\nThe FILESIZE parameter has a maximum value equal to the maximum value that can be stored in 64 bits.<\/p>\n<p><em>Maximum Size for Dump Files:<\/em><\/p>\n<ul>\n<li>For\u00a0<em>32-bit<\/em> Operating System, maximum size is\u00a0<em>2 gigabytes<\/em>.<\/li>\n<li>For\u00a0<em>64-bit <\/em>Operating System, size is\u00a0<em>Unlimited<\/em>.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size: 20px;\">Step 4. Specify location to save the Oracle Schema Export<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-layzr=\"http:\/\/www.technosolutions.com\/kb\/wp-content\/uploads\/2015\/06\/media_1278061343931.png\" alt=\"media_1278061343931.png\" width=\"669\" height=\"229\" \/><\/p>\n<p>Specify the destination location to which you wish to save the exported database. It creates a file with &#8220;<strong>DMP&#8221;<\/strong> extension.<\/p>\n<\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size: 20px;\">Step 5. Specify option to Export User<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-layzr=\"http:\/\/www.technosolutions.com\/kb\/wp-content\/uploads\/2015\/06\/media_1278061382201.png\" alt=\"media_1278061382201.png\" width=\"670\" height=\"299\" \/><\/p>\n<p>Specify this parameter value as &#8220;U&#8221;, i.e. you want to export the User Schema.<\/p>\n<p>By default, it selects User that means all the tables and its data gets exported.<\/p>\n<\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size: 20px;\">Step 6. Access Grant<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-layzr=\"http:\/\/www.technosolutions.com\/kb\/wp-content\/uploads\/2015\/06\/media_1278061593487.png\" alt=\"media_1278061593487.png\" width=\"667\" height=\"392\" \/><\/p>\n<p>Default Value: yes<br \/>\nSpecifies whether or not the Export utility exports object grants. The object grants that are exported depend on whether you use full database mode or user mode.<br \/>\nIn\u00a0<em>full database mode<\/em>, all grants on a table are exported, whereas in\u00a0<em>user mode<\/em>, only those granted by the owner of the table are exported. Note that the\u00a0<em>System privilege grants<\/em> are always exported.<\/p>\n<p>Press enter to use default value.<\/p>\n<\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size: 20px;\">Step 7. Grant access to Export Table Data<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-layzr=\"http:\/\/www.technosolutions.com\/kb\/wp-content\/uploads\/2015\/06\/media_1278061631103.png\" alt=\"media_1278061631103.png\" width=\"668\" height=\"289\" \/><\/p>\n<p>Press enter to use default value, i.e. &#8220;Yes&#8221;.<\/p>\n<\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size: 20px;\">Step 8. Compress the content<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-layzr=\"http:\/\/www.technosolutions.com\/kb\/wp-content\/uploads\/2015\/06\/media_1278061655546.png\" alt=\"media_1278061655546.png\" width=\"669\" height=\"328\" \/><\/p>\n<p><strong>Specifies <\/strong>how Export and Import manage the initial extent for table data.<\/p>\n<p>The default, <strong>COMPRESS=y<\/strong>, causes Export to flag table data for consolidation into one initial extent upon import. If extent sizes are large (for example, beacuse of the PCTINCREASE parameter), allocated space will be larger than the space required to hold the data.<\/p>\n<p><strong>Default: y<\/strong><\/p>\n<p>Enter &#8220;yes&#8221; to compress data.<\/p>\n<\/div>\n<div class=\"LessonStep top\">\n<h3 class=\"StepTitle\" style=\"font-size: 20px;\">Step 9. Log generated for export on Command Prompt<\/h3>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"data:image\/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\" data-layzr=\"http:\/\/www.technosolutions.com\/kb\/wp-content\/uploads\/2015\/06\/media_1278061675297.png\" alt=\"media_1278061675297.png\" width=\"668\" height=\"395\" \/><\/p>\n<div>\n<div>\n<p>The oracle database schema is exported to the desired location with\u00a0DMP\u00a0extension.<br \/>\nKeep this backup on a hard disk or write it on any electronic media.<\/p>\n<\/div>\n<\/div>\n<div>\n<div>\n<p>Revised: March 2nd 2015<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/div>\n<div><!-- End ScreenSteps Content --><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Overview TopTeam Database is a critical part of TopTeam Application Server. It is important that database backups are done regularly and often. In the event of a System failure, you will be able to restore your database files from the saved backups. What is this article about? In this article, you will learn how to backup TopTeam Oracle database schema. There are multiple ways to backup an Oracle database. You will learn how to run a hot backup which means backing up the database while users are still connected and editing within the system. Refer to articles on Oracle Backup <\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[80,281,7],"class_list":["post-2338","post","type-post","status-publish","format-standard","hentry","category-database","tag-backup","tag-database","tag-oracle"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/paoaNA-BI","_links":{"self":[{"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/posts\/2338","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/comments?post=2338"}],"version-history":[{"count":13,"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/posts\/2338\/revisions"}],"predecessor-version":[{"id":26135,"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/posts\/2338\/revisions\/26135"}],"wp:attachment":[{"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/media?parent=2338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/categories?post=2338"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.technosolutions.com\/kb\/wp-json\/wp\/v2\/tags?post=2338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}