postgresql 備份(pg_dump,pg_restore)

PG提供物理備份和邏輯備份(本篇主要講邏輯備份) 物理備份:WAL熱備份 邏輯備份:pg_dump,pg_dumpall,恢復時pg_restore 查看幫助命令: pg_dump --help 跟MySQL本分以及參數比較像(大小寫敏感)     由於我的是用的pgsql操作系統,超級用戶本地登錄,省略了-h 主機IP 以及-U 用戶名 1、備份test 數據庫 pg_dump test >te
相關文章
相關標籤/搜索