File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 142142//** export the current database data
143143if ( !empty ($ conf ["mysql " ]["admin_password " ]) ) {
144144
145- system ("mysqldump -h ' " .$ conf ['mysql ' ]['host ' ]."' -u ' " .$ conf ['mysql ' ]['admin_user ' ]."' -p' " .$ conf ['mysql ' ]['admin_password ' ]."' -c -t --add-drop-table --create-options --quick " .$ conf ['mysql ' ]['database ' ]. " > existing_db.sql " );
145+ system ("mysqldump -h ' " .$ conf ['mysql ' ]['host ' ]."' -u ' " .$ conf ['mysql ' ]['admin_user ' ]."' -p' " .$ conf ['mysql ' ]['admin_password ' ]."' -c -t --add-drop-table --create-options --quick --result-file=existing_db.sql " .$ conf ['mysql ' ]['database ' ]);
146146}
147147else {
148148
149- system ("mysqldump -h ' " .$ conf ['mysql ' ]['host ' ]."' -u ' " .$ conf ['mysql ' ]['admin_user ' ]."' -c -t --add-drop-table --create-options --quick " .$ conf ['mysql ' ]['database ' ]. " > existing_db.sql " );
149+ system ("mysqldump -h ' " .$ conf ['mysql ' ]['host ' ]."' -u ' " .$ conf ['mysql ' ]['admin_user ' ]."' -c -t --add-drop-table --create-options --quick --result-file=existing_db.sql " .$ conf ['mysql ' ]['database ' ]);
150150}
151151
152152// create a backup copy of the ispconfig database in the root folder
You can’t perform that action at this time.
0 commit comments