Subversion Repositories ALCASAR

Rev

Rev 1277 | Rev 1358 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1277 Rev 1303
Line 79... Line 79...
79
	switch ($_POST['choix']){
79
	switch ($_POST['choix']){
80
		case 'user_DB_backup' :
80
		case 'user_DB_backup' :
81
			exec ("sudo /usr/local/sbin/alcasar-mysql.sh --dump");
81
			exec ("sudo /usr/local/sbin/alcasar-mysql.sh --dump");
82
		break;
82
		break;
83
		case 'tracability_backup' :
83
		case 'tracability_backup' :
84
			exec ("sudo /usr/local/bin/alcasar-archive.sh --now");
84
			exec ("sudo /usr/local/bin/alcasar-archive.sh --live");
85
		break;
85
		break;
86
		case 'system_backup' :
86
		case 'system_backup' :
87
			exec ("sudo /usr/local/bin/alcasar-conf.sh --create");
87
			exec ("sudo /usr/local/bin/alcasar-conf.sh --create");
88
		break;
88
		break;
89
	}
89
	}