1
0
mirror of https://github.com/deajan/obackup.git synced 2024-11-12 19:03:42 +01:00

Added missing mysql command.

This commit is contained in:
deajan 2013-06-23 23:37:16 +02:00
parent d19cc92e74
commit c6c16ca2e8

View File

@ -19,16 +19,12 @@ LOG_FILE=~/.ssh/obackup_ssh_filter.log
function Log
{
DATE=$(date)
if [ "$2" != "1" ]
then
echo "$1"
fi
echo "$DATE - $1" >> $LOG_FILE
}
function Go
{
$SSH_ORIGINAL_COMMAND
eval $SSH_ORIGINAL_COMMAND
}
case ${SSH_ORIGINAL_COMMAND%% *} in
@ -36,6 +32,8 @@ case ${SSH_ORIGINAL_COMMAND%% *} in
Go ;;
"mysqldump")
Go ;;
"mysql")
Go ;;
"find")
Go ;;
"du")