| .. | |||
| Code.git.bundle | 6 years ago | ||
| Dockerfiles.git.bundle | 5 years ago | ||
| JenkinsConfig.git.bundle | 6 years ago | ||
| README.md | 6 years ago | ||
| WickedDocs.git.bundle | 6 years ago | ||
| backup.sh | 6 years ago | ||
| invertedlogic.git.bundle | 6 years ago | ||
| jryland-gpg2-public.key.gpg | 6 years ago | ||
| jryland-gpg2-secret.key.gpg | 6 years ago | ||
| restore.sh | 6 years ago | ||
| setup.sh | 6 years ago | ||
Run the ./setup.sh script to initialize the backup system. This is interactive and needed to construct the secret keys needed for the encryption.
Run the ./backup.sh script which will find the repos, bundle, encrypt and then copy them to the server.
This is designed to be non-interactive so that it can be run from a jenkins job or cron-job etc.
This is interactive and requires entering passwords to decrpyt the backups.
On a local machine run the following:
scp "jryland@invertedlogic.com:/home/jryland/backups/restore.sh" ./
This copies the restore script to rebuild the repos. Now run the script.
./restore.sh
The restored repos are in the restored directory. Manually import these back in to the git repos.