成人AV在线无码|婷婷五月激情色,|伊人加勒比二三四区|国产一区激情都市|亚洲AV无码电影|日av韩av无码|天堂在线亚洲Av|无码一区二区影院|成人无码毛片AV|超碰在线看中文字幕

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

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

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

還原需要原先對數(shù)據(jù)庫進行過備份,才能從備份恢復(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ù)到哪個數(shù)據(jù)庫的地址,當(dāng)然你可以寫上ip地址,也就是說能遠程恢復(fù)(必須保證 數(shù)據(jù)庫允許外部訪問的權(quán)限哦~);postgres 就是要恢復(fù)到哪個數(shù)據(jù)庫的用戶;symbolmcnew 是要恢復(fù)到哪個數(shù)據(jù)庫,databasename.backup指備份文件。