how to dump mysql in qnap binary linux with time information

you just run this command

/usr/local/mysql/bin/./mysqldump -u username -ppassword your database > /share/NFSv=4/FTP/dir/yourdb `date +%Y%m%d-%H%M%S`.sql

Posting Komentar

Lebih baru Lebih lama