#!/bin/bash
#PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
#export PATH
#export LANG=en_US.UTF-8
password="/;p0.lo9"
savedir=/usr/backup
cd "$savedir"
time="$(date +"%Y-%m-%d %H:%M:%S")"
mysqldump -u root -p"$password" elegant user > "$time"-user.sql
#PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:~/bin
#export PATH
#export LANG=en_US.UTF-8
password="/;p0.lo9"
savedir=/usr/backup
cd "$savedir"
time="$(date +"%Y-%m-%d %H:%M:%S")"
mysqldump -u root -p"$password" elegant user > "$time"-user.sql