Backup and restore across linux servers
We are running SC+ 7002 on a linux server
We have run the backup script on this main server
We have installed another copy of SC+ on another linux server
We are trying to restore the backup to this second server (to test that the backup and restore works)
However, we cannot get the restore to work. We get the following:
root@ubuntu:~/AdventNet/ME/SupportCenter/bin# sh restoreData.sh -c Backup_scp_7002_06_19_2008_23_24.data
*********************************************************************************
Restore DB Setup Wizard
*********************************************************************************
Execute Restore DB Utility from command prompt
For Windows users :
bin>restoreData -c [backup file]
For Linux users :
bin]#sh restoreData.sh -c [backup file]
*********************************************************************************
FYI [SEVERE]: Please don't kill this utility until the operation is completed
requestScheme is http
Please wait extracting backup file
20/06/2008 12:05:37 com.adventnet.j2ee.deployment.service.internal.JarExtractor extract
INFO: Extraction for /root/AdventNet/ME/SupportCenter/bin/Backup_scp_7002_06_19_2008_23_24.data to /root/AdventNet/ME/SupportCenter/bin/..
Active DB Server = mysql
Database connectionProp : useUnicode=true
characterEncoding=UTF-8
Database not started. Starting .........
20/06/2008 12:05:39 com.adventnet.db.adapter.DBInitializer startDBServer
INFO: Command to start DB server [sh, ../bin/startDB.sh, 33356, /root/AdventNet/ME/SupportCenter/bin/-c/tmp]
chmod: missing operand after `u+x'
Try `chmod --help' for more information.
mkdir: invalid option -- c
Try `mkdir --help' for more information.
DB_HOME -c DB_PORT 33356 TMP_HOME /root/AdventNet/ME/SupportCenter/bin/-c/tmp
../bin/startDB.sh: 31: -c/bin/mysqld: not found
java.net.ConnectException: Trying to start MySQL server failed
at com.adventnet.db.adapter.mysql.MySqlDBInitializer.startDBServer(MySqlDBInitializer.java:100)
at com.adventnet.db.adapter.mysql.MysqlDBAdapter.setUpDB(MysqlDBAdapter.java:422)
at com.adventnet.servicedesk.tools.ConnectionUtil.getConnection(ConnectionUtil.java:47)
at com.adventnet.servicedesk.tools.RestoreSDBackup.restoreDatabase(RestoreSDBackup.java:106)
at com.adventnet.servicedesk.tools.RestoreSDBackup.main(RestoreSDBackup.java:82)
at com.adventnet.servicedesk.tools.RestoreDialog.main(RestoreDialog.java:317)
Unable to restore database : Trying to start MySQL server failed
root@ubuntu:~/AdventNet/ME/SupportCenter/bin#
Does anyone have any info or tips for getting this to work?
New to ADSelfService Plus?