-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add command to sync with DB on prod #759
base: develop
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Have to add obfuscation to DMP BAM filename and path.
@@ -114,6 +114,8 @@ install: conda | |||
# pip install git+https://github.com/mskcc/beagle_cli.git@develop | |||
# pip install -r requirements-cli.txt # <- what happened to this file? | |||
|
|||
BEAGLE_BACKUP_DB_FOLDER=/juno/work/ci/beagle_backups/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not sure if this just makes it more complicated than necessary but this could maybe be an env var
@aef- just FYI I used this locally and it worked for me! |
This takes the latest DB dump and loads it into your local DB. I also added a flag to the
pg_dump
command in our back-up cronjob that reduces the total size of the dump. Information on that can be viewed here: https://dan.langille.org/2013/06/10/using-compression-with-postgresqls-pg_dump/