Why do I need a backup? Backups prevent data loss and are needed for compliance.
To prevent loss of data
There are many reasons for keeping an extra offsite backup of your repositories.
The number one cause of data loss is directly from users.
Here are a few scenarios that can lead to loss of data in a GitHub repository:
- Accidental deletion of a repository from GitHub
- Change of repository history with git-reset or git-rebase, resulting in data loss via a forced push
- Contents of an issue or milestone accidentally changed or deleted
- Rogue employee or hacker destroys your data
Besides user error or malfeasance, GitHub might accidentally lose your data.
Many of our customers also need backups for compliance. If you are going through a SOC2 audit, for example, you need a backup of your cloud data.