Quote:
Originally Posted by Broodjegehaktmetmayo
Sofar after reading here and over in the FreeBSD forum I understand that I need to 'dump' each partition/filesystem/slice separately, and on restoring I need to first format and label each partition/filesystem/slice separately.
|
Read
dump(8) and
restore(8). These tools dump and restore the filesystems contained in partitions, not the entire slices. So you have to run
dump on each partition you want to back up and, of course, specify a different dump file name for each one. When/if you need to restore a filesystem, simply
newfs the partition,
mount it,
cd to the mountpoint and run
restore inside it.
Quote:
Originally Posted by Broodjegehaktmetmayo
Does one need to create the each partition/filesystem/slice exactly the same size as the originally were (not smaller sounds logically, but bigger is possible?)
|
The new partition can be of any size. It can even be smaller than the old one, as long as it's sensibly bigger than the total space used by your files. dump files are not exact, block-by-block copies of partitions. They only store the used portions of filesystems and are therefore (more or less) as big as what's shown in the
Used column in
df -h.