Why Backup?
Protect your API collections, environments, and history from:Accidental Deletion
Recover deleted collections or requests
Data Corruption
Restore from corruption or file system errors
Hardware Failure
Recover from disk failures or computer loss
Sync Conflicts
Rollback to known good state after conflicts
Backup Strategies
1. Git Sync (Recommended)
Using Git provides automatic, versioned backups: Advantages:- ✅ Automatic backups on every sync
- ✅ Complete version history
- ✅ Easy rollback to any point
- ✅ Team collaboration built-in
- ✅ Remote storage included
2. Time Machine (macOS)
macOS Time Machine automatically backs up Auk data: Setup:- Enable Time Machine in System Preferences
- Auk data is automatically included
- Backups occur hourly
- Open Time Machine
- Navigate to Auk workspace folder
- Select date to restore from
- Click “Restore”
3. Manual Backups
Create manual backups on demand:- macOS/Linux
- Windows
4. Automated Backup Script
Create a script for regular backups:- Bash Script
- PowerShell Script
5. Cloud Backup
Backup to cloud storage:- Dropbox
- Google Drive
- AWS S3
Restore Procedures
Restore from Git
Restore from Archive
Restore from Time Machine
Selective Restore
Restore specific items:- Single Collection
- Environment
- Entire Workspace
Backup Best Practices
3-2-1 Rule
3-2-1 Rule
Follow the 3-2-1 backup rule:
- 3 copies of data (original + 2 backups)
- 2 different storage types (local + cloud)
- 1 offsite backup (cloud or external drive)
- Original: Auk workspace
- Backup 1: Git remote (GitHub)
- Backup 2: Time Machine / local archive
Regular Schedule
Regular Schedule
Backup regularly:
- Git sync: Every 15 minutes (automatic)
- Manual backup: Weekly
- Cloud backup: Daily
- External drive: Monthly
Test Restores
Test Restores
Regularly test restore procedures:
- Create test workspace
- Backup test workspace
- Delete test workspace
- Restore from backup
- Verify all data intact
Version Retention
Version Retention
Keep multiple backup versions:
- Daily: Last 7 days
- Weekly: Last 4 weeks
- Monthly: Last 12 months
- Yearly: Indefinite
Encrypt Sensitive Data
Encrypt Sensitive Data
Encrypt backups containing sensitive data:
Backup Verification
Verify Backup Integrity
- Archive Integrity
- Git Integrity
- Checksum
Disaster Recovery
Complete Data Loss
If all local data is lost:Partial Data Loss
If some data is lost:- Identify Missing Data - What’s missing?
- Check Git History - Is it in Git?
- Check Backups - Is it in backups?
- Restore Selectively - Restore only missing items
Monitoring Backups
Backup Status Dashboard
Create a script to monitor backups:Backup Alerts
Set up alerts for backup failures:Next Steps
Git Sync
Set up automatic Git backups
Data Location
Find your workspace data
File System
Understand file storage
Workspace Settings
Configure workspace options