LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   backup partition table (https://www.linuxquestions.org/questions/%2Absd-17/backup-partition-table-355240/)

twantrd 08-20-2005 01:49 PM

backup partition table
 
Can anyone show me how to backup the partition table in FreeBSD 5.x? I'm googling around like nuts and I see references to 'disklabel' but they're all talking about making a partition table. I pretty much want to dump the partition table to a file (like sfdisk -d /dev/hda > /tmp/partition.save in linux)
Thanks guys..

-twantrd

teckk 08-20-2005 07:01 PM

http://www.rajeevnet.com/hacks_hints...s_cloning.html

Read through that. dd will allow you to back up the partitions to another drive.

If you want a single file out of it I guess that you could make an .iso out of it.
Code:

man mkisofs
You could also make a tarball out of it.
Code:

man tar


All times are GMT -5. The time now is 07:03 PM.