View Single Post
  #3   (View Single Post)  
Old 16th July 2008
graudeejs's Avatar
graudeejs graudeejs is offline
Real Name: Aldis Berjoza
ISO Quartermaster
 
Join Date: Jul 2008
Location: Riga, Latvia
Posts: 589
Default

dump -0Lauf - /dev/SLICE | bzip2 /backup/file.bz2
Then copy over net with scp or samba or whatever....
later, on newly formated UFS slice
copy to some place where you have free space (lets say /dir
mount /dev/SLICE /some/mountpoin
cd /some/mountpoint
bzcat /dir/file.bz2 | restore -rf -

cd /
umount /some/mountpoint
and that's it, basically


if yo don't want to compress data, remove bzip2 and bzcat part and replace - with /dev/SLICE
Reply With Quote