diff options
| author | Max Bossing <info@maxbossing.de> | 2025-09-30 18:02:29 +0200 | 
|---|---|---|
| committer | Max Bossing <info@maxbossing.de> | 2025-09-30 18:02:29 +0200 | 
| commit | 91a45232bd36727dca2e7474005e240d518d4c54 (patch) | |
| tree | 98fac5162ac356123716634284aece8c927f8106 /scripts/git-backup/README | |
init
Diffstat (limited to 'scripts/git-backup/README')
| -rw-r--r-- | scripts/git-backup/README | 10 | 
1 files changed, 10 insertions, 0 deletions
| diff --git a/scripts/git-backup/README b/scripts/git-backup/README new file mode 100644 index 0000000..aacf691 --- /dev/null +++ b/scripts/git-backup/README @@ -0,0 +1,10 @@ +* git-backup - backup script + +This simply copies all git repositories from my git forge (git.c41ro.win) to my local server. + +1. Drop this script in /opt/git-backup/ and make it executable. +2. Create a new ssh keypair and put the private key under /opt/git-backup/ssh-key (this file needs to have 0600 permissions). +3. Add a new cron job like this `@daily /opt/git-backup/backup.sh >> /opt/git-backup/backup.sh`. + + +License: It's like 10 lines bro. MIT if you must. | 
