Skip to content

Commit 275ed37

Browse files
authored
Merge pull request #371 from codeunia-dev/feat/supabase-disaster-recovery-system
feat: add Supabase disaster recovery system
2 parents 903c9cc + 3d4ec04 commit 275ed37

File tree

7 files changed

+15767
-0
lines changed

7 files changed

+15767
-0
lines changed

supabase_snapshot/backup_info.txt

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Supabase Backup Information
2+
===========================
3+
Backup Date: Tue Nov 25 08:39:29 IST 2025
4+
Timestamp: 20251125_083659
5+
6+
Database Connection: postgresql://postgres:Akshay18233665@***
7+
8+
Files Generated:
9+
- extensions.sql : Database extensions
10+
- schema.sql : Complete schema (tables, indexes, constraints)
11+
- policies.sql : Row Level Security policies
12+
- functions.sql : Custom SQL functions
13+
- triggers.sql : Database triggers
14+
- complete_backup.dump : Full binary backup with all data
15+
- seed_data.sql : Seed data (if configured)
16+
17+
Restore Instructions:
18+
1. Create a new Supabase project
19+
2. Get the connection string from project settings
20+
3. Run: export SUPABASE_DB_URL="your-new-connection-string"
21+
4. Run: ./restore.sh
22+
23+
For more information, see README.md

supabase_snapshot/extensions.sql

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
CREATE EXTENSION IF NOT EXISTS "pg_cron";
2+
CREATE EXTENSION IF NOT EXISTS "pg_graphql";
3+
CREATE EXTENSION IF NOT EXISTS "pg_net";
4+
CREATE EXTENSION IF NOT EXISTS "pg_stat_statements";
5+
CREATE EXTENSION IF NOT EXISTS "pgcrypto";
6+
CREATE EXTENSION IF NOT EXISTS "supabase_vault";
7+
CREATE EXTENSION IF NOT EXISTS "uuid-ossp";
8+

0 commit comments

Comments
 (0)