Hangao データベース コマンドのバックアップと復元

Hangao データベース コマンドのインポートとエクスポート


バックアップ:
pg_dump -h 127.0.0.1 -p 5866 -U account -d highgo -v -Fc > unis.hgdmp

復元:
pg_restore -h 127.0.0.1 -p 5866 -U sysdba -d highgo -v unis.hgdmp

SQL ファイルをインポートします:
psql -d highgo -Usysdba -f D:\highgo\dump-FYDAS-202008011004.sql

-U ユーザー -d モード -f バックアップ ファイル パス -p データベース ポート -h データベース アドレス

おすすめ

転載: blog.csdn.net/weixin_42272246/article/details/128615385
おすすめ