trouble restore PGSQL DB from Linux to Windows server
Hi.
im installing Application Manager on Windows Server to replace the old one on Linux but i can't restore PGSQL on Windows, hope you guys can help me.
Details:
- im running AM build 13300 on Redhat 7.1 and i have backup PGSQL DB successfully
- I installed another AM build 13300 on Windows 2012 but when i restore DB it didn't do anything and i cant find what's the problem.
this is the log after i run RestorePGSQLDB.bat
C:\Program Files (x86)\ManageEngine\AppManager13\bin>RestorePGSQLDB.bat "C:\Program Files (x86)\ManageEngine\AppManager13\working\backup\backupzip_NORM_13300_Sep_29_2017_10_44_38\backupzip_NORM_13300_Sep_29_2017_10_44_38.zip"
DataBase Name : amdb
"*************************************"
"Usage : RestorePGSQLDB.bat [Absolute path of backup_file ] . This backup_file
should be the zip file created under the AppManager10/working/backup/backupzip-Date*-time* directory on executing the BackupPGSQLDB.bat script"
Eg: RestorePGSQLDB.bat "c:\Program Files\ManageEngine\ME\AppManager10\working\backup\backupzip_Dec_14_2012_11_5_45\backupzip_Dec_14_2012_11_5_45.zip"
"*************************************"
"C:\Program Files (x86)\ManageEngine\AppManager13\working\backup\backupzip_NORM_13300_Sep_29_2017_10_44_38\backupzip_NORM_13300_Sep_29_2017_10_44_38.zip"
0
Sep 29, 2017 2:57:15 PM com.adventnet.appmanager.util.MysqlunZip main
INFO: Before Restoring DB :: Started to unzip the backup file...
Sep 29, 2017 2:57:16 PM com.adventnet.appmanager.util.MysqlunZip main
INFO: Database will be restored from backup file..C:\Program Files (x86)\ManageEngine\AppManager13\working\backup\AM_back_up_2017-09-29_10_43_33
Sep 29, 2017 2:57:16 PM com.adventnet.appmanager.util.MysqlunZip main
INFO: Command will be: cmd /C RestorePGSQLDB.bat "C:\Program Files (x86)\ManageEngine\AppManager13\working\backup\AM_back_up_2017-09-29_10_43_33" restored AM_ba
ck_up_2017-09-29_10_43_33
Sep 29, 2017 2:57:26 PM com.adventnet.appmanager.util.MysqlunZip main
INFO: Restoring DB...
Sep 29, 2017 2:57:26 PM com.adventnet.appmanager.util.MysqlunZip main
INFO: DataBase Name : amdb
Sep 29, 2017 2:57:26 PM com.adventnet.appmanager.util.MysqlunZip main
INFO: "*************************************"
Sep 29, 2017 2:57:26 PM com.adventnet.appmanager.util.MysqlunZip main
INFO: "Usage : RestorePGSQLDB.bat [Absolute path of backup_file ] . This backup_file should be the zip file created under the AppManager10/working/backup/backupzip-Date*-time* directory on executing the BackupPGSQLDB.bat script"
Sep 29, 2017 2:57:26 PM com.adventnet.appmanager.util.MysqlunZip main
INFO: Eg: RestorePGSQLDB.bat "c:\Program Files\ManageEngine\ME\AppManager10\working\backup\backupzip_Dec_14_2012_11_5_45\backupzip_Dec_14_2012_11_5_45.zip"
Sep 29, 2017 2:57:26 PM com.adventnet.appmanager.util.MysqlunZip main
INFO: "*************************************"
Sep 29, 2017 2:57:26 PM com.adventnet.appmanager.util.MysqlunZip main
INFO: 1
Sep 29, 2017 2:57:26 PM com.adventnet.appmanager.util.MysqlunZip main
INFO: ********************************************************
Sep 29, 2017 2:57:26 PM com.adventnet.appmanager.util.MysqlunZip main
INFO: * Warning!!! Attempting to restore the data !!! *
Sep 29, 2017 2:57:26 PM com.adventnet.appmanager.util.MysqlunZip main
INFO: * This will result in loosing your current data!!! *
Sep 29, 2017 2:57:26 PM com.adventnet.appmanager.util.MysqlunZip main
INFO: * Press Ctl+c to quit the operation. *
Sep 29, 2017 2:57:26 PM com.adventnet.appmanager.util.MysqlunZip main
INFO: ********************************************************
Sep 29, 2017 2:57:26 PM com.adventnet.appmanager.util.MysqlunZip main
INFO: DataBase Port : 15432
C:\Program Files (x86)\ManageEngine\AppManager13\bin>
New to ADSelfService Plus?