Skip to content

Commit 7529a8a

Browse files
committed
chore: Ignore backup info file and redact database connection in backup script.
1 parent 5474cd9 commit 7529a8a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.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)