autobackup

Automatically choose backup location and perform backups using rsync
git clone git://jacobedwards.org/autobackup
Log | Files | Refs | README | LICENSE

autobackup (279B)


      1 #!/bin/sh
      2 # Copyright 2023 Jacob R. Edwards <jacob@jacobedwards.org>
      3 # Licensed under OpenBSD's ISC license; see LICENSE
      4 #
      5 # Wrapper for autobackup_* scripts.
      6 
      7 printenv DEBUG >/dev/null &&
      8 	set -x
      9 
     10 case "$1" in
     11 (--server) autobackup_recieve "$@" ;;
     12 (*) autobackup_send "$@"
     13 esac