Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

docker postgresql restore database

cat your_dump.sql | docker exec -i your-db-container psql -U postgres
Comment

pg-restore in postgres docker container

docker exec -i mohe-bc_db_1 pg_restore --verbose --clean --no-acl --no-owner -U postgres -d mohe-bc_development < ~/Downloads/de8dc786-b133-4ae2-a040-dcf34f12c3de
Comment

PREVIOUS NEXT
Code Example
Shell :: install getkirby 
Shell :: powershell delete files older than 15 days 
Shell :: run powershell command as administrator 
Shell :: php curl ignore ssl certificate 
Shell :: check active cron jobs linux 
Shell :: git commit only added files 
Shell :: go update all packages 
Shell :: github desktop for linux 
Shell :: powershell convert string to int 
Shell :: bash clock script 
Shell :: linux rename command incremental 
Shell :: heroku cli delete app 
Shell :: how to install chromedriver on linux 
Shell :: save firewall config linux 
Shell :: nginx: [emerg] bind() to 0.0.0.0:80 failed 
Shell :: gitlab set ssh key 
Shell :: windows 10 startup folder 
Shell :: change default directory of the server 
Shell :: firebase login no localhost 
Shell :: rpi install pivpn 
Shell :: how to save a file in emacs 
Shell :: ano de lançamento do youtube 
Shell :: git bash upstream branch change 
Shell :: pkg-config: not found 
Shell :: run adb command mac stackoverflow 
Shell :: Fatal error in launcher: 
Shell :: ubuntu view disk space ec2 
Shell :: how to install haxeflixel 
Shell :: sudo apt-get --purge remove 
Shell :: certutil md5 windows 
ADD CONTENT
Topic
Content
Source link
Name
1+6 =