-
Notifications
You must be signed in to change notification settings - Fork 3
Upgrade to postgresql 15 client #8
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
base: master
Are you sure you want to change the base?
Upgrade to postgresql 15 client #8
Conversation
…n 13.2) so let's try newest versions
… version to work with a postgres server that was upgraded by Heroku - previously we had pg_dump version 13.2, but finpowerment has a pg server at 14.8.
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.
Sorry for taking forever to take a look, thanks for sending this in! Just have a couple of questions
RUN apt update | ||
RUN apt install -y --no-install-recommends tarsnap | ||
|
||
RUN pip install tarsnapper awscli | ||
RUN pip install tarsnapper awscli --break-system-packages |
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.
how come this is necessary?
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.
should we make a virtual env instead?
$ tarsnap --keyfile tarsnap.key -r -f your-app-backup/some-archive-name > restore.tar | ||
|
||
(Note: A `bin/restore` script does exist in the Heroku app to simplify this, but unfortunately `heroku run` mangles stdout so we can't get a tarball.) | ||
See gitbook. |
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.
which gitbook?
@@ -1,23 +0,0 @@ | |||
#!/bin/bash |
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.
Are you removing because of @bfirsh 's comment that this script is not working?
No description provided.