One line script to backup database./usr/bin/my

One line script to backup database.

/usr/bin/mysqldump databaseName --single-transaction=TRUE --result-file=/media/mint/9cb180f1-02d1-4fdd-8bb5-2e7728497288/backup/db-`date +%Y-%m-%d`.sql --user=databaseUser --host=myhost.com --port=3306 --password=databasePassword


Search