|
@@ -2769,7 +2769,21 @@ function INSTALL_SES_PROCESY_A() {
|
|
|
fclose($create_refrence_process_structure_file);
|
|
fclose($create_refrence_process_structure_file);
|
|
|
|
|
|
|
|
echo "<br> We created bash script to run from bash in case of problems on ".$OPTIONS->SE_config."/config/create_refrence_process_structure.sh
|
|
echo "<br> We created bash script to run from bash in case of problems on ".$OPTIONS->SE_config."/config/create_refrence_process_structure.sh
|
|
|
- <br>";
|
|
|
|
|
|
|
+ <br>
|
|
|
|
|
+ Refresh manually file process_table.sql for hand-process updating by running command : <br>
|
|
|
|
|
+ mysqldump -uroot -p -hse.dev.webone.pl SES_USERS2 CRM_PROCES CRM_WSKAZNIK CRM_LISTA_ZASOBOW CRM_TESTY_PYTANIA CRM_IMAGE CRM_IMPORT_TRANSLATE > ".$OPTIONS->SE_config."/config/process_table.sql <br>
|
|
|
|
|
+ Than on remote system backup important tables with command:<br>
|
|
|
|
|
+ create table CRM_PROCES_copy select * from CRM_PROCES; <br>
|
|
|
|
|
+ create table CRM_WSKAZNIK_copy select * from CRM_WSKAZNIK;<br>
|
|
|
|
|
+ create table CRM_LISTA_ZASOBOW_copy select * from CRM_LISTA_ZASOBOW;<br>
|
|
|
|
|
+ create table CRM_IMAGE_copy select * from CRM_IMAGE;<br>
|
|
|
|
|
+ create table CRM_TESTY_PYTANIA_copy select * from CRM_TESTY_PYTANIA; <br>
|
|
|
|
|
+ create table CRM_IMPORT_TRANSLATE_copy select * from CRM_IMPORT_TRANSLATE; <br>
|
|
|
|
|
+ <br>
|
|
|
|
|
+ Than configure import_db with .cnf configs on different IP address<br>
|
|
|
|
|
+ than run FROM_ZASOBY_TO_ZASOBY ?FUNCTION_INIT=SQIX_STRUCTURE_DB_SYNC <br>
|
|
|
|
|
+
|
|
|
|
|
+ ";
|
|
|
/*
|
|
/*
|
|
|
echo "drop database test on IP 94.158.130.34 and confirm "
|
|
echo "drop database test on IP 94.158.130.34 and confirm "
|
|
|
read
|
|
read
|
|
@@ -2782,7 +2796,6 @@ function INSTALL_SES_PROCESY_A() {
|
|
|
php -r"include('superedit-SQIX_STRUCTURE_DB_SYNC.php') ; SQIX_STRUCTURE_DB_SYNC('default_db','test_db',0,'WYSLIJ_DO_BAZY','FROM_ZASOBY_TO_ZASOBY','3'); " '.$_SERVER['SERVER_NAME'].' %PISM%,%zasob%,%ADMINISTRACJA%,%wyposazenie%,%global%,%WMS%,%ISP%,%BI%'
|
|
php -r"include('superedit-SQIX_STRUCTURE_DB_SYNC.php') ; SQIX_STRUCTURE_DB_SYNC('default_db','test_db',0,'WYSLIJ_DO_BAZY','FROM_ZASOBY_TO_ZASOBY','3'); " '.$_SERVER['SERVER_NAME'].' %PISM%,%zasob%,%ADMINISTRACJA%,%wyposazenie%,%global%,%WMS%,%ISP%,%BI%'
|
|
|
*/
|
|
*/
|
|
|
|
|
|
|
|
-
|
|
|
|
|
|
|
|
|
|
// $ldap_dc_generated=implode(',dc=',explode("",$h->SERVER_ADDRESS));
|
|
// $ldap_dc_generated=implode(',dc=',explode("",$h->SERVER_ADDRESS));
|
|
|
$needed=array($h->ADMIN_USERNAME,$h->SERVER_ADDRESS_IP,$h->ADMIN_USERNAME_PASSWD,$h->SERVER_ADDRESS,$h->SERVER_ADDRESS_LDAP_DC,$INSTALL_ROOT,$REMOTE_FOLDER_ROOT,$h->ADMIN_USERNAME_L1,$h->ADMIN_USERNAME_L1_PASS,$h->ADMIN_USERNAME_DIRECTORY,$h->SERVER_VERSION,$OPTIONS);
|
|
$needed=array($h->ADMIN_USERNAME,$h->SERVER_ADDRESS_IP,$h->ADMIN_USERNAME_PASSWD,$h->SERVER_ADDRESS,$h->SERVER_ADDRESS_LDAP_DC,$INSTALL_ROOT,$REMOTE_FOLDER_ROOT,$h->ADMIN_USERNAME_L1,$h->ADMIN_USERNAME_L1_PASS,$h->ADMIN_USERNAME_DIRECTORY,$h->SERVER_VERSION,$OPTIONS);
|