摘要: --备份用户mew的数据库mew的所有内容 pg_dump -U mew -d mew -h localhost > mew.sql --删除原有数据库 dropdb -U mew -h localhost mew --创建数据库 createdb -U mew -h localhost mew --恢复数据库 psql -U mew -d mew -h localhost < mew.sql... 阅读全文
posted @ 2017-08-02 12:06 cdongyang 阅读(1104) 评论(0) 推荐(0) 编辑