浏览代码

document how to backup raw disk

Thomas Waldmann 10 年之前
父节点
当前提交
729cc4d82d
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      docs/usage.rst

+ 3 - 0
docs/usage.rst

@@ -139,6 +139,9 @@ Examples
     # Backup huge files with little chunk management overhead
     $ borg create --chunker-params 19,23,21,4095 /mnt/backup::VMs /srv/VMs
 
+    # Backup a raw device (must not be active/in use/mounted at that time)
+    $ dd if=/dev/sda bs=10M | borg create /mnt/backup::my-sda -
+
 
 .. include:: usage/extract.rst.inc