git host backup
Find a file
2023-06-06 07:55:18 +02:00
.pre-commit-config.yaml rsync conf defaults 2023-06-06 07:55:18 +02:00
ghb rsync conf defaults 2023-06-06 07:55:18 +02:00
README.md docs 2023-06-06 07:17:28 +02:00
rsync.conf initial 2023-03-01 15:13:05 +01:00

git host backup

TL;DR

git clone https://github.com/multicast/ghb.git /opt/ghb
cp /opt/ghb/rsync.conf /etc/ghb.rsync
echo BACKUPDIR=/var/backups/ghb > /etc/ghb.conf
echo GITREMOTE=ssh://myhost/backups/$(hostname).git >> /etc/ghb.conf