{"version":"1.0","url":"https://xibbar.hatenablog.com/entry/20070425/1177486765","categories":["PostgreSQL"],"blog_url":"https://xibbar.hatenablog.com/","provider_url":"https://hatena.blog","author_url":"https://blog.hatena.ne.jp/xibbar/","width":"100%","type":"rich","image_url":null,"title":"\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30c0\u30f3\u30d7\u3057\u3066\u4ed6\u306e\u30e6\u30fc\u30b6\u30fc\u3067\u30ec\u30b9\u30c8\u30a2\u3059\u308b","description":"PostgreSQL\u306fpg_dump\u3057\u305f\u3060\u3051\u3067\u306f\u4ed6\u306e\u30e6\u30fc\u30b6\u30fc\u3067\u4f7f\u3048\u306a\u3044\u3067\u3059\u3002 \u30c0\u30f3\u30d7\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306b\u30aa\u30fc\u30ca\u30fc\u3068\u304b\u304c\u66f8\u304d\u8fbc\u307e\u308c\u3066\u3044\u308b\u304b\u3089\u3067\u3059\u3002 \u305d\u306e\u305f\u3081\u3001\u3061\u3087\u3063\u3068\u3060\u3051\u3060\u3051\u30b3\u30c4\u304c\u8981\u308a\u307e\u3059\u3002 \u307e\u305a\u3001-O\u3092\u3064\u3051\u3066\u30c0\u30f3\u30d7\u3057\u307e\u3059\u3002 pg_dump -O dbname > dbname.sql\u5909\u3048\u305f\u3044\u30aa\u30fc\u30ca\u30fc\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002 $ createuser www-data Shall the new user be allowed to create databases? (y/n) y Shall the new user be allowed to create more new users? (y/n) y\u30b9\u2026","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fxibbar.hatenablog.com%2Fentry%2F20070425%2F1177486765\" title=\"\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u3092\u30c0\u30f3\u30d7\u3057\u3066\u4ed6\u306e\u30e6\u30fc\u30b6\u30fc\u3067\u30ec\u30b9\u30c8\u30a2\u3059\u308b - \u798f\u5cf6\u9903\u5b50Ruby\u89aa\u65b9\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2007-04-25 16:39:25","author_name":"xibbar","provider_name":"Hatena Blog","height":"190","blog_title":"\u798f\u5cf6\u9903\u5b50Ruby\u89aa\u65b9"}