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

Make db backups easier to use #49

Open
dajtxx opened this issue Jul 18, 2023 · 0 comments
Open

Make db backups easier to use #49

dajtxx opened this issue Jul 18, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@dajtxx
Copy link
Collaborator

dajtxx commented Jul 18, 2023

Change the backup script to:

  1. Only export data, not create tables etc.
  2. Split the backup into 2 files - one with everything other than the sources and message tables, and the other with the message tables. The sources table is pre-populated by the db creation script so must be skipped in the data-only backup.

This will allow us to copy the backups into the init.db directory and if they are named appropriately they will run after the db creation script.

@dajtxx dajtxx added the enhancement New feature or request label Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant