Subversion Repositories ALCASAR

Rev

Rev 613 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 613 Rev 672
Line 1... Line 1...
1
#! /bin/bash
1
#! /bin/bash
2
# $Id: alcasar-mysql.sh 613 2011-05-23 22:02:37Z richard $
2
# $Id: alcasar-mysql.sh 672 2011-07-08 15:34:22Z richard $
-
 
3
 
-
 
4
# alcasar-mysql.sh
-
 
5
# by Franck BOUIJOUX, Pascal LEVANT and Richard REY
-
 
6
# This script is distributed under the Gnu General Public License (GPL)
-
 
7
 
-
 
8
# Gestion (sauvegarde / import / RAZ) de la base MySQL 'radius'. Fermeture des sessions de comptabilité ouvertes
-
 
9
# Management of mysql 'radius' database (save / import / RAZ). Close the accounting open sessions
3
 
10
 
4
## Script de sauvegarde de la base MySQL 'radius' (by rexy)
-
 
5
rep_tr="/var/Save/base" 	 	# répertoire d'accueil des sauvegardes
11
rep_tr="/var/Save/base" 	 	# répertoire d'accueil des sauvegardes
6
ext="sql"  				# extension des fichiers de sauvegarde
12
ext="sql"  				# extension des fichiers de sauvegarde
7
DB_RADIUS="db_radius"
13
DB_RADIUS="db_radius"
8
DB_USER="db_user"
14
DB_USER="db_user"
9
radiuspwd="radius_pwd"
15
radiuspwd="radius_pwd"