{"id":176,"date":"2010-01-20T03:45:24","date_gmt":"2010-01-20T09:45:24","guid":{"rendered":"http:\/\/www.mrc-productivity.com\/docs\/?page_id=176"},"modified":"2023-04-05T10:11:37","modified_gmt":"2023-04-05T15:11:37","slug":"backups","status":"publish","type":"ht_kb","link":"https:\/\/www.mrc-productivity.com\/docs\/knowledge-base\/backups","title":{"rendered":"Backups"},"content":{"rendered":"\n<p>When you start using m-Power, what pieces should be saved for backups? m-Power is simple. The default setup is comprised of a development and production environment installed in the application server&#8217;s program files.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\"><strong>Windows<\/strong><\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>C:\/Program Files\/mrc\/development\/m-power<\/li>\n\n\n\n<li>C:\/Program Files\/mrc\/production\/m-power<\/li>\n<\/ul>\n\n\n\n<h4 class=\"wp-block-heading\">UNIX-Style OS (Linux)<\/h4>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\/root\/mrc\/development\/m-power<\/li>\n\n\n\n<li>\\root\\mrc\\production\\m-power<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Generated Applications<\/h2>\n\n\n\n<p>The generated applications are stored by default in a sub-directory:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\\m-power\\mrcjava\\WEB-INF\\classes\\DD (for Windows)<\/li>\n\n\n\n<li>\/m-power\/mrcjava\/WEB-INF\/classes\/DD (for UNIX-style OS)<\/li>\n<\/ul>\n\n\n\n<p>Where DD is the Data Dictionary name. <\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon\">If you add &#8220;m-power&#8221; or &#8220;\/m-Power&#8221; to your backup procedure, that will save the m-Power interface and all generated apps.<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon is-style-alert\">Be sure to do this for development and production.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Development Interface Metadata<\/h2>\n\n\n\n<p>The metadata (application specifications) are stored in a derby database folder:<\/p>\n\n\n\n<p>\\m-power\\derby (for Windows)<br>\/m-power\/derby (for UNIX-style OS)<\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon\">Adding the &#8220;derby&#8221; location to the backup procedure will ensure all application specs are saved.<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">SQL Database<\/h2>\n\n\n\n<p>In the database, m-Power will create one general schema named MRCAPPLLIB and another for each Data Dictionary to hold dictionary specific objects. <\/p>\n\n\n\n<p class=\"wp-block-ht-blocks-messages wp-block-hb-message wp-block-hb-message--withicon\">MRCAPPLLIB and each Data Dictionary should be added to the backup procedure on the database server.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you start using m-Power, what pieces should be saved for backups? m-Power is simple. The default setup is comprised of a development and production environment installed in the application server&#8217;s program files. Windows UNIX-Style OS (Linux) Generated Applications The generated applications are stored by default in a sub-directory: Where&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"footnotes":""},"ht-kb-category":[261],"ht-kb-tag":[],"class_list":["post-176","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-administration"],"_links":{"self":[{"href":"https:\/\/www.mrc-productivity.com\/docs\/wp-json\/wp\/v2\/ht-kb\/176","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mrc-productivity.com\/docs\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/www.mrc-productivity.com\/docs\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/www.mrc-productivity.com\/docs\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mrc-productivity.com\/docs\/wp-json\/wp\/v2\/comments?post=176"}],"version-history":[{"count":16,"href":"https:\/\/www.mrc-productivity.com\/docs\/wp-json\/wp\/v2\/ht-kb\/176\/revisions"}],"predecessor-version":[{"id":12445,"href":"https:\/\/www.mrc-productivity.com\/docs\/wp-json\/wp\/v2\/ht-kb\/176\/revisions\/12445"}],"wp:attachment":[{"href":"https:\/\/www.mrc-productivity.com\/docs\/wp-json\/wp\/v2\/media?parent=176"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/www.mrc-productivity.com\/docs\/wp-json\/wp\/v2\/ht-kb-category?post=176"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/www.mrc-productivity.com\/docs\/wp-json\/wp\/v2\/ht-kb-tag?post=176"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}