rOpenSci | Backing up GitHub organisation with gitcellar
Reported on: Oct 12, 2022

Backing up GitHub organisation with gitcellar

English • By Hugo Gruson • Featuring: gitcellar, Safeguards and Backups for GitHub Organizations

rOpenSci package or resource used*

What did you do?

I replicated the back-up infrastructure from rOpenSci in our GitHub organisation: https://github.com/epiverse-trace.

Migration archives are created with gitcellar and are then uploaded to a DigitalOcean S3-compatible space with the aws.s3 R package.

This is automated via GitHub Actions and runs on a weekly basis (each Saturday in the night).

For increased security, I have created a dedicated GitHub account, @epiverse-trace-bot, which hosts the repository with the automation and also provides a Personal Access Token (PAT) with minimal permissions.

URL or code snippet for your use case*

https://github.com/epiverse-trace-bot/epiverse-trace-backup

Image

image|690x454

Sector

industry

Field(s) of application

devops, epidemiology