Version Control and Backups
Liam Porr
Why Version Control?
Theory of Git
Getting Started in Git
OR
Adding Files and Committing
Local Git Workflow
Branching, Merging, Rebase
‘trunk’ of the tree
mainline
Pulling and Pushing
Summary: The Git Workflow
In a git repository:
Backups
The 3-2-1 Rule
3. Have at least 3 copies of your data
2. Store your data on at least 2 different media� >1 hard drive, >1 backup server/computer
1. Have at least 1 copy of your data off-site� E.g. on Amazon S3, “the cloud,” under a mattress
What happens if you don’t follow what I said
Backup 1: Amazon S3
Backup 2: Azure Disk Snapshots
Why GitLab still exists today: Hail Mary LVM Snapshots
Impact
Tools for Backups
More Tools
Conclusion