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

Project IDs and per-migration backups #80

Open
sastraxi opened this issue Dec 1, 2019 · 0 comments
Open

Project IDs and per-migration backups #80

sastraxi opened this issue Dec 1, 2019 · 0 comments
Labels
long term Not going to be fixed for a while, but an ideal version of this project has this issue resolved. question Further information is requested

Comments

@sastraxi
Copy link
Owner

sastraxi commented Dec 1, 2019

Allow users to keep a memory of the latest "copy" of each particular repo / migration combination.

Every so often, we'll launch a background task at the start of pgsh to look at all the databases with the same migration history, md5sum the file representing the latest migration, and see if the current database has a newer write than a different version of the same database (not really fleshed out)

For each config.project_id, we'll keep the last n

  • project ID could be, by default, the name of the repo / package.json

Commands:

  • backup pause
  • backup on
  • backup off
  • backup 50G
  • backup 30
  • backup peek -- switch to the backup database
  • backup restore [target] -- clone the backup database into a new named database (or the current one if none given)
@sastraxi sastraxi added question Further information is requested long term Not going to be fixed for a while, but an ideal version of this project has this issue resolved. labels Dec 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
long term Not going to be fixed for a while, but an ideal version of this project has this issue resolved. question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant