[英]how to restore a postgresql database using terminal on ubuntu
I have a dump file named positions.sql I have to restore it to my local database.我有一个名为 position.sql 的转储文件,我必须将它恢复到我的本地数据库。
The database has a large amount of data and is dumped from another system.数据库有大量数据,是从另一个系统转储的。 I am using Dbeaver and ubuntu.
我正在使用 Dbeaver 和 ubuntu。
thanks for the solution @a_horse_with_no_name感谢@a_horse_with_no_name 的解决方案
psql -U... -d your_database_name -f positions.sql psql -U... -d your_database_name -f 位置.sql
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.