git host backup
- Shell 100%
| .pre-commit-config.yaml | ||
| ghb | ||
| README.md | ||
| rsync.conf | ||
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