From 422f2e09ee1bfd814e6271c1bcea176eb0fc2695 Mon Sep 17 00:00:00 2001 From: "vincent@cubedesigners.com" Date: Wed, 16 Mar 2011 09:56:35 +0000 Subject: [PATCH] --- inc/ws/Controlleur/class.ws.maintenance.php | 5 +++++ 1 file changed, 5 insertions(+) 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 -- 2.39.5