Best way to backup a specific drive?

ed at hp.uab.edu ed at hp.uab.edu
Mon Oct 1 17:14:04 UTC 2007


On Mon, 1 Oct 2007, Daniel B. Thurman wrote:

>
> I am preparing to backup my root drive in preparation
> for installing f7.  What is the best way to do this?
>
> I have in /dev/hda as:
>
> /boot = /dev/hda1
> /       = /dev/hda2
>
> I have backed up /boot with: tar zcvpf /boot.tgz /boot
>
> But have get to figure out how to get /dev/hda2 backed up without
> picking up the other drives mounted on /
>

No problem use the '--one-file-system' or '-l' parameter for tar:

tar zcvplf {somewhere}/root.tgz /

ed




More information about the fedora-list mailing list