Personal tools
You are here: Home 文档 FAQs 使用 tar 命令做备份
Document Actions

使用 tar 命令做备份

Up to table of contents

备份整个分区到另一个硬盘上

比如要把 hda3 备份到 sda6 上:

  mount /dev/hda3 /mnt/hda3
  mount /dev/sda6 /mnt/sda6
  (cd /mnt/hda3 && tar cvf - *)|(cd /mnt/sda6 && tar xvpf -)

这样复制的好处是:未知,有人知道吗?

by 杨红 last modified 2005-12-19 13:07

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: