19th March 2011
|
Shell Scout
|
|
Join Date: Sep 2008
Posts: 92
|
|
Quote:
Originally Posted by Beastie
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.
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.
|
Thanks Beastie
|