Skip to content

Instantly share code, notes, and snippets.

View dmitrylitmanovich's full-sized avatar
🇺🇦

Dzmitry Litmanovich dmitrylitmanovich

🇺🇦
  • Tbilisi, Georgia
View GitHub Profile
import ipdb; ipdb.set_trace()
@dmitrylitmanovich
dmitrylitmanovich / README.MD
Last active October 26, 2022 10:37
restore using psql
psql -U username -d dbname < filename.sql

For Postgres versions 9.0 or earlier:

psql -U username -d dbname -1 -f filename.sql