Skip to content
Snippets Groups Projects
Verified Commit f0e26f2a authored by anarcat's avatar anarcat
Browse files

fix typo in psql version number in indirect restore procedure

Not sure where psql 11 comes from here.
parent 30f5e190
No related branches found
No related tags found
No related merge requests found
......@@ -169,7 +169,7 @@ server to the database server and restores from those.
by name should be enough to find the latest one. Uncompress the
`BASE` file in place:
cat ~postgres/restore/$CLIENT/main.BASE.bungei.torproject.org-20190805-145239-$CLIENT.torproject.org-main-9.6-backup.tar.gz | su postgres -c 'tar -C /var/lib/postgresql/11/main -x -z -f -'
cat ~postgres/restore/$CLIENT/main.BASE.bungei.torproject.org-20190805-145239-$CLIENT.torproject.org-main-9.6-backup.tar.gz | su postgres -c 'tar -C /var/lib/postgresql/9.6/main -x -z -f -'
(Use `pv` instead of `cat` for a progress bar with large backups.)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment