From: vincent@cubedesigners.com Date: Wed, 16 Mar 2011 09:56:35 +0000 (+0000) Subject: (no commit message) X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=422f2e09ee1bfd814e6271c1bcea176eb0fc2695;p=cubeextranet.git --- diff --git a/inc/ws/Controlleur/class.ws.maintenance.php b/inc/ws/Controlleur/class.ws.maintenance.php index 933e838c3..bede0daa5 100644 --- a/inc/ws/Controlleur/class.ws.maintenance.php +++ b/inc/ws/Controlleur/class.ws.maintenance.php @@ -401,6 +401,11 @@ class wsMaintenance { } return $lang; } + + public static function dumpDatabase() + { + cubeDb::mysqlDump('localhost', DB_NAME , DB_USER , DB_PASSWORD , ROOT. '/backups/dump-'.date('Y-m-d-H-i-s').'.sql', true, 8); + } } ?> \ No newline at end of file