mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-12 20:09:22 +01:00
11 lines
371 B
Bash
Executable File
11 lines
371 B
Bash
Executable File
#!/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
|
|
|
|
rm -rf /home/mikaela/backups/
|
|
cp -r $BORG_REPO /home/mikaela/backups/
|
|
chown -R mikaela:mikaela /home/mikaela/
|
|
|
|
borg prune -v --keep-daily=7 --keep-weekly=4
|