Last active
May 11, 2021 13:05
-
-
Save stachjankowski/71f63962519a32ebd99a06d7ca251caa to your computer and use it in GitHub Desktop.
PostgreSQL dump with pv inception
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pg_dump dbname | pv --rate --progress --eta --size $(pg_dump dbname | pv | wc --bytes) | psql -h remote.server dbname |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment