* use mariadb-dump

* filter tailing mariadb general log
This commit is contained in:
2023-07-13 13:19:08 +03:00
parent 1771877fe8
commit 767aa7ba37
2 changed files with 2 additions and 2 deletions

View File

@ -6,4 +6,4 @@ if [[ -z "${CONTAINER}" ]]; then
exit 1
fi
docker exec -ti ${CONTAINER} mysqldump -u root -p123456 $1 | pv > $2
docker exec -ti ${CONTAINER} mariadb-dump -u root -p123456 $1

View File

@ -7,4 +7,4 @@ sudo truncate -s 0 $GENERAL_LOG_FILE_PATH
clear
sudo tail -f $GENERAL_LOG_FILE_PATH
sudo tail -f $GENERAL_LOG_FILE_PATH | grep -Ev "(Close|Prepare)"