餔餔BI~之再戰紫禁之巔
javascript jquery css database web ccna those good stuff
網頁
首頁
快速取用
centos 安裝手札
VI 操作
噗噗BI
老楊是個搞玉的
shell_script
2012年5月29日 星期二
postgre回復資料資料
備份的時候,是直接用pgadmin來做的
如果要用指令來備份,則用pg_dump來做備份
直接在shell底下
psql -U postgres -h localhost test2 < /dump.sql
會問你密碼 就OK了
$conf['extra_login_security'] = false;
如果備份出來的是DUMP檔或是BAK
好像就是用pg_restore來做
沒有留言:
張貼留言
較新的文章
較舊的文章
首頁
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言