Skip to content

Remove outdated backup zip files from the database directory - #123

Merged
elifouts merged 1 commit into
mainfrom
gitignore
Feb 27, 2026
Merged

Remove outdated backup zip files from the database directory#123
elifouts merged 1 commit into
mainfrom
gitignore

Conversation

@elifouts

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings February 27, 2026 07:47
@elifouts
elifouts merged commit b241f9c into main Feb 27, 2026
5 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/.gitignore to ignore backend/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.

Comment thread backend/.gitignore
@@ -20,6 +20,6 @@
# Service account files
*service-account*.json
devbits-*.json

Copilot AI Feb 27, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Suggested change
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.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants