tag: bash

automated gitolite backups

27 Jun, 2017 - 1 minutes

Since I run a gitolite server for my private projects, I needed a way to regularly backup these repositories. The following script is run via crontab as the gitolite user, and creates bundled versions of all hosted repositories. Those are then pushed via SMB to a network attached storage.