Mar 18 2010 Software Dump/Restore Data Between Partitions Here’s a script I created to backup and restore data between partitions on OpenBSD: 123456789101112131415161718192021#!/bin/shnewfs /dev/ad1s1anewfs /dev/ad1s1enewfs /dev/ad1s1fmount /dev/ad1s1a /backup/rootmount /dev/ad1s1e /backup/varmount /dev/ad1s1f /backup/usr( dump -0f - / ) | ( cd /backup/root ; restore -rf - )( dump -0f - /var ) | ( cd /backup/var ; restore -rf - )( dump -0f - /usr ) | ( cd /backup/usr ; restore -rf - )umount /backup/rootumount /backup/varumount /backup/usrtunefs -n enable /dev/ad1s1atunefs -n enable /dev/ad1s1etunefs -n enable /dev/ad1s1f Newer Find/Cpio Data Between Partitions Older SSL for ERC