国产成人毛片视频|星空传媒久草视频|欧美激情草久视频|久久久久女女|久操超碰在线播放|亚洲强奸一区二区|五月天丁香社区在线|色婷婷成人丁香网|午夜欧美6666|纯肉无码91视频

pg備份表命令 postgresql怎么還原數(shù)據(jù)庫?

postgresql怎么還原數(shù)據(jù)庫?還原需要原先對(duì)數(shù)據(jù)庫進(jìn)行過備份,才能從備份恢復(fù),如果沒有備份過,那是無法還原的?;謴?fù)數(shù)據(jù)庫,指令如下: pg_restore.exe --host localh

postgresql怎么還原數(shù)據(jù)庫?

還原需要原先對(duì)數(shù)據(jù)庫進(jìn)行過備份,才能從備份恢復(fù),如果沒有備份過,那是無法還原的?;謴?fù)數(shù)據(jù)庫,指令如下: pg_restore.exe --host localhost --port 5432 --username "postgres" --dbname "symbolmcnew" --no-password --verbose "databasename.backup"指令解釋:如上命令,psql是恢復(fù)數(shù)據(jù)庫命令,localhost是要恢復(fù)到哪個(gè)數(shù)據(jù)庫的地址,當(dāng)然你可以寫上ip地址,也就是說能遠(yuǎn)程恢復(fù)(必須保證 數(shù)據(jù)庫允許外部訪問的權(quán)限哦~);postgres 就是要恢復(fù)到哪個(gè)數(shù)據(jù)庫的用戶;symbolmcnew 是要恢復(fù)到哪個(gè)數(shù)據(jù)庫,databasename.backup指備份文件。