Mkfs(8) backups
Prerequisites
% echo allow >> /srv/cwfs.cmd
% # backup procedure
% echo disallow >> /srv/cwfs.cmd
Backup
% disk/mkfs -apU -s / sysbk.proto | gzip -9 > sysbk.9gz
Restore
% < sysbk.9gz gunzip | disk/mkext -u -d /
% echo allow >> /srv/cwfs.cmd
% # backup procedure
% echo disallow >> /srv/cwfs.cmd
% disk/mkfs -apU -s / sysbk.proto | gzip -9 > sysbk.9gz
% < sysbk.9gz gunzip | disk/mkext -u -d /