摘要: 1、备份数据库pg_dump -h 127.0.0.1 -U 数据库用户名 -d 数据库名 --schema=xxxxxxx > xxxxxx.sql_back_0423 2、恢复数据库psql -h localhost -U 数据库用户名 -d 数据库名 < xxxxxxxx.sql 阅读全文
posted @ 2022-04-23 15:22 漫步CODE人生 阅读(239) 评论(0) 推荐(0) 编辑