Skip to content

Transfer file systems

using dump and restore


    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

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS