2-4. 初期データの作成
chcp 65001
SET PGPASSWORD=cimtops
SET NEWDATABASE=irepowbdb
SET RESTOREDUMP=C:\i-RepoWeb\Tools\db\irepowbdbBase.dump
SET PGPATH=C:\Program Files\PostgreSQL\[PostgreSQLバージョン]\bin\psql
SET LOGPATH=C:\i-RepoWeb\Tools\db\irepowbdb_restore.log
"%PGPATH%" -h localhost -p 5433 -U postgres -d %NEWDATABASE% -f %RESTOREDUMP% 2> %LOGPATH%
echo Restore ErrorLevel=%ERRORLEVEL% >> %LOGPATH%環境変数
設定値
Last updated
