Skip to content

Commit

Permalink
fix: restore to a real supabase instance by adding this to ignore
Browse files Browse the repository at this point in the history
  • Loading branch information
Geczy committed Sep 5, 2023
1 parent 30d3044 commit ee7f990
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion justfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export BUILDKIT_PROGRESS := "plain"
backup:
@echo "Backing up database"
@echo "URL is: ${DATABASE_URL}"
/opt/homebrew/opt/libpq/bin/pg_dump "${DATABASE_URL%\?*}" --no-comments -F c -N _realtime > ok.sql
/opt/homebrew/opt/libpq/bin/pg_dump "${DATABASE_URL%\?*}" --no-comments -F c -N _realtime -N supabase_functions > ok.sql

restore:
@echo "Backing up database"
Expand Down

0 comments on commit ee7f990

Please sign in to comment.