Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PG Backup and Restore #96

Open
deepakduggirala opened this issue Oct 18, 2023 · 0 comments
Open

PG Backup and Restore #96

deepakduggirala opened this issue Oct 18, 2023 · 0 comments
Assignees
Labels

Comments

@deepakduggirala
Copy link
Contributor

deepakduggirala commented Oct 18, 2023

Improve Postgres Restore Efficiency

Current State:
The current backup script generates a file containing individual INSERT statements for data restoration. While this approach ensures data consistency, it can lead to inefficient and time-consuming restoration processes, especially for large databases.

Proposed Improvement:
To enhance the restore efficiency for Postgres databases, we should explore alternative methods for generating backup files or improving the restore process.

Scenarios

  • different scenarios, when to backup schema + data / only data, how it interacts with prisma migrate?
  • reset db and add data on a blank instance?
  • restore to previous schema and data after a change that has gone bad
  • scheduled backups, if db is gone, how to restore it again?
@deepakduggirala deepakduggirala self-assigned this Oct 18, 2023
@deepakduggirala deepakduggirala changed the title Improve Postgres Restore Efficiency PG Backup and Restore Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant