<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>takuya_1st</author_name>
  <author_url>https://blog.hatena.ne.jp/takuya_1st/</author_url>
  <blog_title>それマグで！</blog_title>
  <blog_url>https://takuya-1st.hatenablog.jp/</blog_url>
  <categories>
    <anon>ssh</anon>
    <anon>linux</anon>
  </categories>
  <description>dd / ddrescue したいけどリモートに容量がない時がある。 dd してファイルを保存したいけど、容量と時間が気になる。 dd if=/dev/sda of=/tmp/rootfs.img # 容量がありません。 また、dd 中に時間待ちをして、さらにrsync/scp で転送待ちをする。。。。時間の無駄。無駄です。無駄ですよ？ そんなときは、パイプでDDしながら転送を同時にやる dd と転送を同時にやる。 dd if=/dev/sda | ssh server.example.com dd of=dump.img この場合は、いまログインしてるホストから、別のホストに転送。 特徴は …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakuya-1st.hatenablog.jp%2Fentry%2F2016%2F03%2F02%2F041354&quot; title=&quot;ssh 経由で dd と転送を同時にやる。サーバーでddをパイプしつつ、ローカルに保存 - それマグで！&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>2016-03-02 04:13:54</published>
  <title>ssh 経由で dd と転送を同時にやる。サーバーでddをパイプしつつ、ローカルに保存</title>
  <type>rich</type>
  <url>https://takuya-1st.hatenablog.jp/entry/2016/03/02/041354</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
