<commit_before>#!/bin/bash
# Auteur : <NAME>
# Version : 1.2

## /!\ Dont't touch !!


#############
# Variables #
#############

. /etc/datacube/datacube.cfg
. /opt/datacube/config/no-touch.cfg

HOST="__MonHOST__"
USER="__MonUser__"
PASSWD="__<PASSWORD>"

##########
# Script #
##########

# Backup des bases de données
for database_list in `${mysql_bin} -ss -e "SHOW DATABASES" | egrep -vi "^(information_schema|performance_schema)$"`; do
 ${mysqldump_bin} -h $HOST -u $USER -p$PASSWD --events --opt -Q -B ${database_list} | ${gzip_bin} -c > ${BACKUP_DIR}/backup_MySQL_${database_list}.sql.gz
done<commit_msg>Update mysql-login.sh<commit_after>#!/bin/bash
# Auteur : <NAME>
# Version : 1.2

## /!\ Dont't touch !!


#############
# Variables #
#############

. /etc/datacube/datacube.cfg
. /opt/datacube/config/no-touch.cfg

HOST="__MonHOST__"
USER="__MonUser__"
PASSWD="__<PASSWORD>"

##########
# Script #
##########

# Backup des bases de données
for database_list in `${mysql_bin} -h $HOST -u $USER -p$PASSWD -ss -e "SHOW DATABASES" | egrep -vi "^(information_schema|performance_schema)$"`; do
 ${mysqldump_bin} -h $HOST -u $USER -p$PASSWD --events --opt -Q -B ${database_list} | ${gzip_bin} -c > ${BACKUP_DIR}/backup_MySQL_${database_list}.sql.gz
done
{'fraction_non_alphanumeric': 0.24165341812400637, 'fraction_numerical': 0.003179650238473768, 'mean_word_length': 4.570796460176991, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4011415', 'n_tokens_mistral': 511, 'n_tokens_neox': 492, 'n_words': 97}