<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hogem</author_name>
  <author_url>https://blog.hatena.ne.jp/hogem/</author_url>
  <blog_title>うまいぼうぶろぐ</blog_title>
  <blog_url>https://hogem.hatenablog.com/</blog_url>
  <categories>
    <anon>linux</anon>
  </categories>
  <description>このオプション知らなかった。いわゆるsnapshotのようなものが手軽にできますね。 $ rsync --help (略) --link-dest=DIR hardlink to files in DIR when unchanged まず、一度rsyncで完全なコピーを作る。 $ rsync -avz data/ snapshot1/この後、--link-destオプションをつけてrsyncを実行すれば、rsyncを作成する時にdataに変更があったものだけはコピーされて、変更がないものはhardlinkが作成される。(ディレクトリはhardlinkできないのでコピーされる)このとき、--l…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhogem.hatenablog.com%2Fentry%2F20130122%2F1358862685&quot; title=&quot;rsync でファイルに変更がない場合にhardlinkを作成する --link-dest を利用して差分バックアップを取る - うまいぼうぶろぐ&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-01-22 22:51:25</published>
  <title>rsync でファイルに変更がない場合にhardlinkを作成する --link-dest を利用して差分バックアップを取る</title>
  <type>rich</type>
  <url>https://hogem.hatenablog.com/entry/20130122/1358862685</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
