scripts/bash/borgbackup-etro.bash

11 lines
371 B
Bash
Raw Normal View History

2021-02-08 11:10:52 +01:00
#!/usr/bin/env bash
export BORG_REPO='/root/borgbackups-etro.mikaela.info'
borg create ::$(date -Is) /home/bitbot/.bitbot /home/matterbridge/ /home/oragono/oragono-conf /home/mikaela/.weechat /home/limnoria/R-66Y
2021-02-08 11:10:52 +01:00
rm -rf /home/mikaela/backups/
cp -r $BORG_REPO /home/mikaela/backups/
chown -R mikaela:mikaela /home/mikaela/
2021-05-27 00:25:08 +02:00
borg prune -v --keep-daily=7 --keep-weekly=4