<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>msh5_h</author_name>
  <author_url>https://blog.hatena.ne.jp/msh5_h/</author_url>
  <blog_title>Prog*rama</blog_title>
  <blog_url>https://msh5.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>どのような点で優れているか？ SQLite ロック機構に則ってデータベースの複製が行われるので、オンラインのデータベースに対して安全に処理を実行できる。 例えば、単にバックアップを取るだけならファイルコピーでも可能だが、もしデータベースが書き込み中であった場合、バックアップは壊れている恐れがある。 ちなみに、オンラインバックアップの対象はデータベース単位である。 特定のテーブルのみ取り出したいといった場合は、ユースケースに合わないので愚直に ATTACH と INSERT クエリでコピーすべし。 実施手順 オンラインバックアップの実施は非常に簡単で、sqlite3 コマンドで .backup …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmsh5.hatenablog.jp%2Fentry%2F2018%2F08%2F05%2F224202&quot; title=&quot;SQLite3 のオンラインバックアップ - Prog*rama&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-08-05 22:42:02</published>
  <title>SQLite3 のオンラインバックアップ</title>
  <type>rich</type>
  <url>https://msh5.hatenablog.jp/entry/2018/08/05/224202</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
