postgresql - how to backup and restore database

preview_player
Показать описание
postgres: how to backup and restore postgresql database using command line/terminal/shell
my setup is postgresql 9.2, CentOS 7
Рекомендации по теме
Комментарии
Автор

It's a really good video. On point and fast... Thank you!

TheThird
Автор

Thank you so much! This saved me alot of time, and it was straight to the point. Really glad i found this video. I will recomend it to many others!

lhuhjhr
Автор

thanks bro it really helped me in seconds

sabdukodirovv
Автор

thank you! this helped me migrate my matrix database to a new host!

kittyyyyyyyy
Автор

Thanks a lot man. You Really helped me with this video. Keep rocking.

jorgeadalbertorodriguezgar
Автор

thanks you save us a huge trouble. THNKS

jaydeeptechnism
Автор

helped me so much, thanks for the video

sususu
Автор

Thank you very Much..This was of great help

calebmbugua
Автор

Why did you use the file extension .dump for your backup file instead of using .bak or .sql?
the .bak extension works for me, but no the .sql extension. I have not yet tried using the .dump. What's the difference?

programadordelassombras
Автор

these two commands also for docker db

docker exec -it pg pg_dump --clean --username=test --dbname=test > dump.sql
cat dump.sql | docker exec -i pg psql --username=test --dbname=test

mehmetsayn
Автор

Assuming that you cannot take the database offline, how do you ensure that the backup is atomic (all transactions complete)?

undercrackers
Автор

Подскажи плиз какой параметр прописать для записи лога файла при восстановлении базы на удаленный сервер? Использую CMD

gudjihn
Автор

Hi Dear,

Please assist us obtain step-by-step instructions for migrating the Avantra from AWS to GCP.

Source - On AWS:
Avantra is running with PostgreSql - onpremise

Target- On GCP:
Avantra is running with PostgreSQL as SaaS.

We wish to move it from AWS to GCP at this time. Please provide us with specific steps.

Aditya-ANR
Автор

так я не понял, почему русский акцент, где индусы?

vitalysementsov
Автор

How can i handle the password if i need to automate db migration for example with github actions? Some ideas?

blanky_nap
Автор

I would stop at the first error shown like in your case ^^

HouariDALIYOUCEF
Автор

А как их вообще запускать с консоли? Не смотря на то, что у меня установлен потсгрес, пишет, что psql, pg_dump не опознано

shmeklz
Автор

How to take backup in directory format?

adammulla
Автор

я спецом поставил плагин чтобы по переводу с англ, сперва нарвался на индуса =) а теперь на русско-говорящего вроде, мой плагин не справляется =)

donqfrt