Skip to content

Instantly share code, notes, and snippets.

/sh

Created June 8, 2017 04:57
Show Gist options
  • Save anonymous/0d5598df0cb0cef8cdcbe0271620ca30 to your computer and use it in GitHub Desktop.
Save anonymous/0d5598df0cb0cef8cdcbe0271620ca30 to your computer and use it in GitHub Desktop.
Gist from «VK CodeSyntaxHighlighter»
sudo -u postgres psql
create database gits_restore;
sudo -u postgres psql gits_restore;
create extension postgis;
cd /backup
sudo -u postgres pg_restore -Fd -d gits_restore --table=route_path ./main-av_gits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment