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
Created
5y
|
May 27, 2020, 2:04:53 PM
Login to add comment
Other posts in this group
./yt-dlp_linux $URL -x --audio-format mp3
echo $((16#FF))
16 - numerical system FF - number in specified numerical system
find -ctime -2 -name "*.php" -not -path "./vendor/*" -not -path "./var/*" -not -path "./migrations/*" -printf "%T@ %Tc %p\n" | head -10
cmd.exe /c ".\main.exe < .\text.txt"
rsync -a --delete empty/ x
chrome.exe --ignore-certificate-errors --unsafely-treat-insecure-origin-as-secure=https://www.devdomain.com/