smoonb
Version: 
Complete Supabase backup and migration tool - EXPERIMENTAL VERSION - USE AT YOUR OWN RISK
30 lines (29 loc) • 1.1 kB
Plain Text
{
  "supabase": {
    "projectId": "xvfgdgdfgdfgdfgdfg",
    "url": "https://dfgdfgdfgdfgdfgdfg.supabase.co",
    "serviceKey": "sdfsdfsdfsdfsdfgyjyuiuyjyujuyjyujuyjyujuy",
    "anonKey": "uyjyujyujyhmnbmbghjghjghghjghjghjghj",
    "databaseUrl": "postgresql://postgres:ghjghjghjghjghjghjghj@db.sdfsdfsdfsdfsdfsdfsdfsdf.supabase.co:5432/postgres",
    "accessToken": "your-personal-access-token-here"
  },
  "backup": {
    "includeFunctions": true,
    "includeStorage": true,
    "includeAuth": true,
    "includeRealtime": true,
    "outputDir": "./backups",
    "pgDumpPath": "C:\\Program Files\\PostgreSQL\\17\\bin\\pg_dump.exe"
  },
  "restore": {
    "verifyAfterRestore": true,
    "targetProject": {
      "targetProjectId": "target-project-id-here",
      "targetUrl": "https://target-project.supabase.co",
      "targetServiceKey": "target-service-key",
      "targetAnonKey": "target-anon-key",
      "targetDatabaseUrl": "postgresql://postgres:[password]@db.target-project.supabase.co:5432/postgres",
      "targetAccessToken": "target-access-token"
    }
  }
}