diff options
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. |
