Skip to content

Commit 40b5c0a

Browse files
authored
Merge pull request #373 from codeunia-dev/feat/supabase-disaster-recovery-system
chore: Ignore backup info file and redact database
2 parents 7543a79 + 7529a8a commit 40b5c0a

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,4 @@ next-env.d.ts
5555
!supabase_snapshot/*.sql
5656
*.dump
5757
.env.local
58+
supabase_snapshot/backup_info.txt

backup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ Supabase Backup Information
287287
Backup Date: $(date)
288288
Timestamp: $TIMESTAMP
289289
290-
Database Connection: ${SUPABASE_DB_URL%%@*}@***
290+
Database Connection: [REDACTED]
291291
292292
Files Generated:
293293
- extensions.sql : Database extensions

0 commit comments

Comments
 (0)