<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>eichisanden</author_name>
  <author_url>https://blog.hatena.ne.jp/eichisanden/</author_url>
  <blog_title>技術メモのかけら</blog_title>
  <blog_url>https://eichisanden.hateblo.jp/</blog_url>
  <categories>
    <anon>Postgres</anon>
    <anon>Linux</anon>
  </categories>
  <description>pg_dumpコマンドに、 -Z 9 のようにZオプションを与えるとダンプファイルがgzipで圧縮できます。 $ pg_dump -f /mydb.sql -Z 9 mydb -F でフォーマットを指定しない場合、plain形式（要はSQLファイル）でダンプ＆gzipで圧縮されるだけなんですが、なぜか私は「pg_restoreでリストアしなきゃ」という思考回路になっているようですorz 一瞬混乱した後に、gunzipして解凍しなきゃと思うのですが、今度は次の問題にハマります。 $ gunzip mydb.sql gzip: mydb.sql: unknown suffix -- ignored…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Feichisanden.hateblo.jp%2Fentry%2F2018%2F01%2F24%2F171307&quot; title=&quot;pg_dumpのZオプションで作ったファイルの解凍＆リストアにいつも混乱する - 技術メモのかけら&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-01-24 17:13:07</published>
  <title>pg_dumpのZオプションで作ったファイルの解凍＆リストアにいつも混乱する</title>
  <type>rich</type>
  <url>https://eichisanden.hateblo.jp/entry/2018/01/24/171307</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
