{"id":89,"date":"2013-01-09T18:41:00","date_gmt":"2013-01-09T09:41:00","guid":{"rendered":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/?p=89"},"modified":"2018-08-08T14:15:12","modified_gmt":"2018-08-08T05:15:12","slug":"postgresql%e3%82%92%e4%bd%bf%e7%94%a8%e3%81%97%e3%81%9f%e3%83%90%e3%83%83%e3%82%af%e3%82%a2%e3%83%83%e3%83%97%e3%83%bb%e3%83%aa%e3%82%b9%e3%83%88%e3%82%a2%e3%81%ae%e6%96%b9%e6%b3%95%e3%82%92%e7%9f%a5","status":"publish","type":"post","link":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/?p=89","title":{"rendered":"PostgreSQL\u3092\u4f7f\u7528\u3057\u305f\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30fb\u30ea\u30b9\u30c8\u30a2\u306e\u65b9\u6cd5\u3092\u77e5\u308a\u305f\u3044(\u30d3\u30eb\u30c99450,10100\u5bfe\u5fdc)"},"content":{"rendered":"<p>\u3010\u73fe\u8c61\/\u8981\u671b\u3011<br \/>\n\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306bPostgreSQL\u3092\u4f7f\u7528\u3057\u305fOpManager\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30fb\u30ea\u30b9\u30c8\u30a2\u306e\u65b9\u6cd5\u3092\u77e5\u308a\u305f\u3044<br \/>\n<span style=\"color: #ff3333;\">\u672c\u30ca\u30ec\u30c3\u30b8\u306f\u3001\u5bfe\u5fdc\u30d3\u30eb\u30c9\u304c9450,10100\u3068\u306a\u3063\u3066\u3044\u307e\u3059\u3002<br \/>\n10200\u4ee5\u964d\u306e\u30d3\u30eb\u30c9\u3092\u3054\u4f7f\u7528\u306e\u304a\u5ba2\u69d8\u306f\u4e0b\u8a18\u30ca\u30ec\u30c3\u30b8\u306b\u3066\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30ea\u30b9\u30c8\u30a2\u3092\u884c\u3063\u3066\u304f\u3060\u3055\u3044\u3002<\/span><\/p>\n<p><a href=\"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/?p=609\">https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/?p=609<\/a><\/p>\n<p>\u3010\u539f\u56e0\u3011<br \/>\n\u3010\u89e3\u6c7a\u65b9\u6cd5\u3011<br \/>\n\u4ee5\u4e0b\u306e\u624b\u9806\u3067\u3001<br \/>\nOpManager\u306e\u8a2d\u5b9a\u30d5\u30a9\u30eb\u30c0\u3068PostgreSQL\u306e\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u30c6\u30fc\u30d6\u30eb\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u81f4\u3057\u307e\u3059\u3002<\/p>\n<p><b>(A) \u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u624b\u9806<\/b><\/p>\n<p>\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u306e\u624b\u9806\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<br \/>\n<b>BackupDB_Postgres.bat<\/b> (Linux \u306e\u5834\u5408\u3001<b>BackupDB_Postgres.sh<\/b>) \u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>1. OpManager \u30b5\u30fc\u30d3\u30b9\u3092\u505c\u6b62\u3057\u307e\u3059\u3002<br \/>\n\uff08\u30bf\u30b9\u30af\u30de\u30cd\u30fc\u30b8\u30e3\u7b49\u3067\u30d7\u30ed\u30bb\u30b9\u306b java, wrapper, postgres \u304c\u6b8b\u3063\u3066\u3044\u308b\u5834\u5408\u306f\u4ee5\u4e0b\u3092\u53c2\u7167\u304f\u3060\u3055\u3044\u3002\uff09<\/p>\n<blockquote style=\"font-family: Verdana; margin: 0px 0px 0px 40px; border: none; padding: 0px;\"><p>- java\u3001wrapper \u304c\u6b8b\u5b58\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u30bf\u30b9\u30af\u30de\u30cd\u30fc\u30b8\u30e3\u304b\u3089\u30d7\u30ed\u30bb\u30b9\u3092\u5f37\u5236\u7d42\u4e86\u304f\u3060\u3055\u3044\u3002<br \/>\n- postgres \u304c\u6b8b\u5b58\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u7ba1\u7406\u8005\u6a29\u9650\u3067\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u8d77\u52d5\u5f8c\u3001<br \/>\n\u300c[OpManager \u30d5\u30a9\u30eb\u30c0]\/bin\u300d \u306b\u79fb\u52d5\u3057\u3066<b>stopPgSQL.bat<\/b> (Linux \u306e\u5834\u5408:stopPgSQL.sh)\u3092\u5b9f\u884c\u3057\u3001<br \/>\npostgres \u30d7\u30ed\u30bb\u30b9\u3092\u505c\u6b62\u304f\u3060\u3055\u3044\u3002<\/p><\/blockquote>\n<p>2. \u7ba1\u7406\u8005\u6a29\u9650\u3067\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u8d77\u52d5\u3057\u300c\/bin\/backup\u300d\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<br \/>\n3. BackupDB_Postgres.bat\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4f7f\u7528\u3057\u3001\u30c7\u30fc\u30bf\u3092\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u307e\u3059\u3002<\/p>\n<blockquote><p>&gt; <b>BackupDB_Postgres.bat -mode all<\/b><\/p><\/blockquote>\n<blockquote style=\"margin: 0px 0px 0px 40px; border: none; padding: 0px;\"><p><span style=\"color: #ff0000;\"><b>\u203b \u300c-mode all\u300d\u306e\u5165\u529b\u306f\u5fc5\u9808<\/b><\/span><\/p><\/blockquote>\n<p>4. \u7d42\u4e86\u5f8c\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u4e0a\u3067<br \/>\n\u300cBackup file successfully created and is located in &lt;\u30d5\u30a1\u30a4\u30eb\u540d&gt;\u300d\u3068\u8868\u793a\u3055\u308c\u307e\u3059\u3002<br \/>\n\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u306f&lt;\u30d5\u30a1\u30a4\u30eb\u540d&gt;\u306e\u5834\u6240\u306b\u4f5c\u6210\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<p>\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u306e\u51fa\u529b\u5148\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u3067OpManager\/backup\u30d5\u30a9\u30eb\u30c0\u306b\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<br \/>\n\u51fa\u529b\u5148\u3092\u5909\u66f4\u3057\u305f\u3044\u5834\u5408\u306b\u306f\u3001\u4e0b\u8a18\u306e\u4f8b\u306e\u901a\u308a-destination &lt;\u30d5\u30eb\u30d1\u30b9&gt;\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<blockquote><p>&gt; <b>BackupDB_Postgres.bat -mode all -destination c:OpManager\/backup<\/b><\/p><\/blockquote>\n<p><b>(B) \u30ea\u30b9\u30c8\u30a2\u624b\u9806<\/b><\/p>\n<p>\u30ea\u30b9\u30c8\u30a2\u306e\u624b\u9806\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<b>RestoreDB.bat <\/b>\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002<\/p>\n<p>0. OpManager\uff08\u540c\u3058\u30d3\u30eb\u30c9\u756a\u53f7\u3092\u4f7f\u7528\uff09\u3092\u65b0\u898f\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u3066\u304a\u304d\u307e\u3059\u3002<br \/>\n\u4e00\u5ea6\u8d77\u52d5\u3057\u3001Web\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306b\u30a2\u30af\u30bb\u30b9\u3067\u304d\u308b\u3053\u3068\u3092\u78ba\u8a8d\u3057\u307e\u3059\u3002<br \/>\n1. OpManager \u30b5\u30fc\u30d3\u30b9\u3092\u505c\u6b62\u3057\u307e\u3059\u3002<br \/>\n\uff08\u30bf\u30b9\u30af\u30de\u30cd\u30fc\u30b8\u30e3\u7b49\u3067\u30d7\u30ed\u30bb\u30b9\u306b java, wrapper, postgres \u304c\u6b8b\u3063\u3066\u3044\u308b\u5834\u5408\u3001<br \/>\n\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u6642\u3068\u540c\u69d8\u306e\u624b\u9806\u3092\u5b9f\u65bd\u304f\u3060\u3055\u3044\u3002\uff09<br \/>\n2. OpManager\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30d5\u30a9\u30eb\u30c0\u4e0b\u306bbackup\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br \/>\n3. \u300cOpManager\/backup\u300d\u306b(A)\u3067\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u305fZIP\u30d5\u30a1\u30a4\u30eb\u3092\u914d\u7f6e\u3057\u307e\u3059\u3002<br \/>\n4. \u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u306e\u30a2\u30a4\u30b3\u30f3\u3092\u53f3\u30af\u30ea\u30c3\u30af\u3057\u7ba1\u7406\u8005\u3068\u3057\u3066\u5b9f\u884c\u3092\u9078\u629e\u3059\u308b\u3053\u3068\u306b\u3088\u308a\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u3092\u8d77\u52d5\u3057<br \/>\n\u300cOpManager\/bin\/backup\u300d\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<br \/>\n5. RestoreDB.bat\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4f7f\u7528\u3057\u3001\u30c7\u30fc\u30bf\u3092\u30ea\u30b9\u30c8\u30a2\u3057\u307e\u3059\u3002<\/p>\n<blockquote><p><b>&gt; RestoreDB.bat &lt;\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u540d&gt;<\/b><\/p><\/blockquote>\n<blockquote style=\"margin: 0px 0px 0px 40px; border: none; padding: 0px;\"><p><b>\u203b \u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u5f15\u6570\u3068\u3057\u3066\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/b><br \/>\n<b><span style=\"color: #ff0000;\">\u203b \u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30d5\u30a1\u30a4\u30eb\u540d\u306b\u306f\u30d5\u30a1\u30a4\u30eb\u306e\u7d76\u5bfe\u30d1\u30b9\u3092\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<br \/>\n\u203b \u30d5\u30a1\u30a4\u30eb\u30d1\u30b9\u306b\u65e5\u672c\u8a9e\u3092\u542b\u30802\u30d0\u30a4\u30c8\u6587\u5b57\u3001\u7279\u6b8a\u6587\u5b57\u3092\u542b\u3081\u306a\u3044\u3067\u304f\u3060\u3055\u3044\u3002\u542b\u3081\u305f\u5834\u5408\u3001\u30ea\u30b9\u30c8\u30a2\u306b\u5931\u6557\u3059\u308b\u5834\u5408\u304c\u3054\u3056\u3044\u307e\u3059\u3002<\/span><\/b><\/p><\/blockquote>\n<p>\uff08\u4f8b\uff09<br \/>\nC:&lt;OpManager Home&gt;bin\/backup&gt;RestoreDB.bat C:&lt;OpManager Home&gt;bin\/backup\/BackUp_110_2013_14_29_30_9450.zip<\/p>\n<p>6. \u7d42\u4e86\u5f8c\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u4e0a\u3067\u300cRestore operation completed successfully.\u300d\u3068\u8868\u793a\u3055\u308c\u307e\u3059\u3002<br \/>\n7. OpManager \u30b5\u30fc\u30d3\u30b9\u3092\u518d\u8d77\u52d5\u3057\u307e\u3059\u3002<br \/>\n8. \u5225\u74b0\u5883\u3078 OpManager \u3092\u79fb\u52d5\u3055\u305b\u305f\u5834\u5408\u3001\u30e9\u30a4\u30bb\u30f3\u30b9\u30d5\u30a1\u30a4\u30eb\u3092 OpManager \u753b\u9762\u53f3\u4e0a<br \/>\n[\u30b5\u30dd\u30fc\u30c8]&gt;[\u30e9\u30a4\u30bb\u30f3\u30b9\u767b\u9332] \u304b\u3089\u9069\u7528\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>*\u30d7\u30e9\u30a4\u30d9\u30fc\u30c8MIB\u30d5\u30a1\u30a4\u30eb\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u30d5\u30a9\u30eb\u30c0\u3082\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u30fb[\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30d5\u30a9\u30eb\u30c0]\/mibs<\/p>\n<p>*\u30b9\u30b1\u30b8\u30e5\u30fc\u30eb\u30ec\u30dd\u30fc\u30c8\u3067\u30ec\u30dd\u30fc\u30c8\u3092\u4f5c\u6210\u3055\u308c\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u30d5\u30a9\u30eb\u30c0\u3082\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<br \/>\n\u30fb[\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30d5\u30a9\u30eb\u30c0]\/Reports<\/p>\n<p>*\u30d3\u30b8\u30cd\u30b9\u30d3\u30e5\u30fc\u306b\u3066\u80cc\u666f\u753b\u50cf\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u5834\u5408\u306f\u3001\u80cc\u666f\u753b\u50cf\u306b\u3064\u3044\u3066\u3082\u4ee5\u4e0b\u306e\u30d5\u30a9\u30eb\u30c0\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<br \/>\n\u30fb[\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u30d5\u30a9\u30eb\u30c0]\/images\/maps<\/p>\n<p>\u3010\u5bfe\u5fdc\u30ea\u30ea\u30fc\u30b9\u3011 9450,10100<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u3010\u73fe\u8c61\/\u8981\u671b\u3011 \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306bPostgreSQL\u3092\u4f7f\u7528\u3057\u305fOpManager\u306e\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u30fb\u30ea\u30b9\u30c8\u30a2\u306e\u65b9\u6cd5\u3092\u77e5\u308a\u305f\u3044 \u672c\u30ca\u30ec\u30c3\u30b8\u306f\u3001\u5bfe\u5fdc\u30d3\u30eb\u30c9\u304c94\u2026 <a href=\"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/?p=89\" class=\"more\">\uff3b\u7d9a\u304d\u3092\u8aad\u3080\uff3d<\/a><\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_lmt_disableupdate":"yes","_lmt_disable":"","footnotes":""},"categories":[9],"tags":[98],"class_list":["post-89","post","type-post","status-publish","format-standard","hentry","category-2-install-opm","tag-98"],"modified_by":"yuka","_links":{"self":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=\/wp\/v2\/posts\/89","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=89"}],"version-history":[{"count":12,"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=\/wp\/v2\/posts\/89\/revisions"}],"predecessor-version":[{"id":19575,"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=\/wp\/v2\/posts\/89\/revisions\/19575"}],"wp:attachment":[{"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=89"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=89"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.manageengine.jp\/support\/kb\/OpManager\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=89"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}