How to backup configure of Application Manager

How to backup configure of Application Manager

Hi everyone,

I want to backup my Configuration on a Linux Server, but the Backup Data file which I get, can't restore my configuration on another Server.

Follow OpManager Tutorial, I go to "/opt/ManageEngine/OpManager/AppManager/bin" and run the command:   "./BackupPGSQLDB.sh"

The result is :
ls: cannot access /opt/ManageEngine/OpManager/AppManager/working/pgsql/data/: No such file or directory
pg_ctl: cannot be run as root
Please log in (using, e.g., "su") as the (unprivileged) user that will
own the server process.
/opt/ManageEngine/OpManager/AppManager/working/backup/AM_back_up_2015-03-13_09_26_58
pg_dump: [archiver (db)] connection to database "amdb" failed: could not connect to server: Connection refused
        Is the server running on host "localhost" (::1) and accepting
        TCP/IP connections on port 5432?
could not connect to server: Connection refused
        Is the server running on host "localhost" (127.0.0.1) and accepting
        TCP/IP connections on port 5432?
Data successfully backed up in the file /opt/ManageEngine/OpManager/AppManager/working/backup/AM_back_up_2015-03-13_09_26_58
Mar 13, 2015 9:27:18 AM com.adventnet.appmanager.util.MysqlZip main
INFO: AM_HOME /opt/ManageEngine/OpManager/AppManager/
Mar 13, 2015 9:27:18 AM com.adventnet.appmanager.util.MysqlZip main
INFO: length 1
Mar 13, 2015 9:27:18 AM com.adventnet.appmanager.util.MysqlZip main
INFO: backupfile 
Mar 13, 2015 9:27:18 AM com.adventnet.appmanager.util.MysqlZip getFileName
INFO: backupfile 
Mar 13, 2015 9:27:18 AM com.adventnet.appmanager.util.MysqlZip main
INFO: Zipping the databases
Mar 13, 2015 9:27:18 AM com.adventnet.appmanager.util.MysqlZip main
INFO: Zipping the configuration files
Mar 13, 2015 9:27:18 AM com.adventnet.appmanager.util.MysqlZip main
INFO: Data successfully backed up in  /opt/ManageEngine/OpManager/AppManager/working/backup/backupzip_NORM_11912_Mar_13_2015_9_27_18/backupzip_NORM_11912_Mar_13_2015_9_27_18.zip
ls: cannot access /opt/ManageEngine/OpManager/AppManager/working/pgsql/data/: No such file or directory
pg_ctl: cannot be run as root
Please log in (using, e.g., "su") as the (unprivileged) user that will
own the server process.


Please help me fix the problem.

Thanks a lot.



                New to ADSelfService Plus?