update 222 B

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