Transfer file systems
using dump and restore
#prepare:
dumpfs -m ad0s1a
newfs -O 2 -U ad0s1a
mount /dev/ad0s1a /target
#over pipe:
cd /target; /sbin/dump -0anL -f - /source | restore -rf -
#over ssh:
dump -0anLf - /source | gzip -2 | ssh target-host "cd /target && gzcat | restore -rf -"
No comments yet
