#!/bin/sh DATE=`date "+%Y-%m-%d%n"` doas mount /dev/sd3c /mnt2 doas rm -v /mnt2/obsd-backup/backup* doas dump -0u -a -f - /home | gzip -f -c | cat - > /mnt2/obsd-backup/backup-$DATE doas umount /mnt2 doas sysupgrade -s