~abyxcos/backup_scripts

Various scripts to back up different things to my NAS
Add a README.
Add a license.
A quick script to clone and pull from all your specified git repos.

refs

master
browse  log 

clone

read-only
https://git.sr.ht/~abyxcos/backup_scripts
read/write
git@git.sr.ht:~abyxcos/backup_scripts

You can also use your local clone with git send-email.

#Backup scripts

A collection of tools, scripts, and utilities to back up various things to my NAS.

#backup_git.sh

Takes a repos.txt file with one repo or comment per line. Ignores any comments. Checks out the repo if it doesn't exist then pulls any updates. Use with cron to back up your (or any interesting) repos nightly. Using multiple remotes with git is always a possibility, but this removes the need to configure that on every machine you work with.

repos.txt:

# Sourcehut
git@git.sr.ht:~abyxcos/backup_scripts
# Github
https://github.com/openzfs/zfs.git

Usage:

30	1	*	*	*	cd /backups/git && /bin/sh backup_git.sh