* * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * $Id$ * $Source$ */ /** \file htdocs/admin/tools/dolibarr_export.php \brief Page export de la base \version $Revision$ */ require("./pre.inc.php"); include_once $dolibarr_main_document_root."/lib/databases/".$conf->db->type.".lib.php"; $langs->load("admin"); if (! $user->admin) accessforbidden(); $html=new Form($db); /* * Affichage page */ llxHeader(); print_fiche_titre($langs->trans("Backup"),'','setup'); print '
'; print $langs->trans("DatabaseName").' : '.$dolibarr_main_db_name.'
'; print '
'; if ($_GET["msg"]) { print '
'.$_GET["msg"].'
'; print '
'; print "\n"; } print_titre($langs->trans("NewBackup")).'
'; ?>
trans("ExportMethod"); ?>
Parametres de l'export MySQL
Chemin complet de la commande mysqldump:
Options d'exportation






: " />

'; print "\n"; print $langs->trans("Compression").':   '; $compression=array( 'none' => array('function' => '', 'id' => 'radio_compression_none', 'label' => $langs->trans("None")), // 'zip' => array('function' => 'zip_open', 'id' => 'radio_compression_zip', 'label' => $langs->trans("Zip")), Not open source 'gz' => array('function' => 'gz_open', 'id' => 'radio_compression_gzip', 'label' => $langs->trans("Gzip")), 'bz' => array('function' => 'bz_open', 'id' => 'radio_compression_bzip', 'label' => $langs->trans("Bzip2")) ); foreach($compression as $key => $val) { if (! $val['function'] || function_exists($val['function'])) { print ''; print ' '; } else { print ''; print ' '; print ' ('.$langs->trans("NotAvailable").')'; } print '     '; } print ''; print "\n"; ?>
" id="buttonGo" />

show_documents('systemtools','',DOL_DATA_ROOT.'/admin/temp',$_SERVER['PHP_SELF'],0,1); //if ($result) print '

'; llxFooter('$Date$ - $Revision$'); ?>