<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>eatsmart</author_name>
  <author_url>https://blog.hatena.ne.jp/eatsmart/</author_url>
  <blog_title>EatSmartシステム部ブログ</blog_title>
  <blog_url>https://eatsmart.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>イートスマートが提供するサービスでは、データベースにPostgreSQLを利用しています。 レプリケーションを行うことで冗長性を確保することに加え、毎日バックアップを作成しています。 このバックアップを作成する処理が使用するディスク容量が増えてきたので、減らす工夫を行ってみました。 以前のバックアップ処理 以下の流れでバックアップを行っていました。 バックアップの対象はすべてのテーブルではありません。 1.psqlコマンドで、COPYで指定したテーブルをTOで指定したファイルへ出力 2. gzipコマンドで、1で出力したファイルを圧縮 3. tarコマンドで、2で圧縮したファイルをアーカイブに…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Featsmart.hatenablog.com%2Fentry%2F2022%2F12%2F02%2F194042&quot; title=&quot;PostgreSQLのバックアップ処理で使用するディスク容量を減らす工夫 - EatSmartシステム部ブログ&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>2022-12-02 19:40:42</published>
  <title>PostgreSQLのバックアップ処理で使用するディスク容量を減らす工夫</title>
  <type>rich</type>
  <url>https://eatsmart.hatenablog.com/entry/2022/12/02/194042</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
