• #!/bin/bash• file_name=`date +%Y%m%d%H%M%S`• db_path='/usr/local/db_back/'• mysqldump -ulepus -p123456 -A >${db_path}${file_name}_all.sql• echo "backup ok"