borg-backup-scripts/install.sh

7 lines
161 B
Bash
Raw Normal View History

2023-04-04 23:36:20 +02:00
#!/bin/bash
BASEDIR=$(dirname $0)
install --owner=0 --group=0 --mode=444 $BASEDIR/borg-{backup,prune}@.{service,timer} /etc/systemd/system/
mkdir -p /etc/borg