<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dkfj</author_name>
  <author_url>https://blog.hatena.ne.jp/dkfj/</author_url>
  <blog_title>プログラマでありたい</blog_title>
  <blog_url>https://blog.takuros.net/</blog_url>
  <categories>
    <anon>aws</anon>
    <anon>s3</anon>
    <anon>バージョン管理</anon>
  </categories>
  <description>Gitのリポジトリ運用の要となるのが、バックアップ運用です。一般的には、定期的なバックアップを仕込むといった運用をしている所が多いと思います。一方で、定期作業であれば最終バックアップから障害発生時点でのデータ消失という危険性はあります。ということで、プッシュごとにフルバックアップが取れれば理想です。それも利用者が意識しない形でないといけません。 #Gitなので分散リポジトリから復旧という話もありますが。 ということで、Gitのフック機能でAmazon S3にバックアップするパターン例です。やり方は簡単で、リポジトリ毎のhooksの部分に同期スクリプトを呼び出すコマンドを書けば良いだけです。 p…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.takuros.net%2Fentry%2F20130213%2F1360707320&quot; title=&quot;Gitのフック機能で、リポジトリをAmazon S3にバックアップする - プログラマでありたい&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>2013-02-13 07:15:20</published>
  <title>Gitのフック機能で、リポジトリをAmazon S3にバックアップする</title>
  <type>rich</type>
  <url>https://blog.takuros.net/entry/20130213/1360707320</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
