Conversation
There was a problem hiding this comment.
Pull request overview
Removes committed database/upload backup artifacts from the backend repo and updates ignore rules to prevent future backup commits.
Changes:
- Deleted committed PostgreSQL dump files from
backend/backups/db/. - Removed committed upload backup zip artifacts from
backend/backups/db/. - Updated
backend/.gitignoreto ignorebackend/backups/.
Reviewed changes
Copilot reviewed 3 out of 5 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| backend/backups/db/devbits-db-20260226-030000.sql | Removed committed DB dump from the repository. |
| backend/backups/db/devbits-db-20260226-002618.sql | Removed committed DB dump from the repository. |
| backend/backups/db/devbits-uploads-20260226-030000.zip | Removed committed uploads backup archive from the repository. |
| backend/backups/db/devbits-uploads-20260226-002618.zip | Removed committed uploads backup archive from the repository. |
| backend/.gitignore | Added /backups/ ignore rule to prevent future backup commits. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| @@ -20,6 +20,6 @@ | |||
| # Service account files | |||
| *service-account*.json | |||
| devbits-*.json | |||
There was a problem hiding this comment.
Ignoring /backups/ prevents future commits, but the removed SQL dumps contained sensitive/user data (password hashes, push tokens, direct messages). Deleting them in a PR does not remove them from Git history—please rotate/invalidates any leaked credentials/tokens and consider purging these files from history (e.g., git filter-repo/BFG) if this repo is shared/public.
| devbits-*.json | |
| devbits-*.json | |
| # Local backup artifacts (for example SQL dumps) can contain highly sensitive data | |
| # such as user data, password hashes, push tokens, or direct messages. Never commit | |
| # these files. If backups were ever committed to this repository, rotate/invalidate | |
| # any leaked credentials/tokens and purge the backup files from Git history | |
| # (for example, using git filter-repo or BFG) before sharing this repo. |
No description provided.