
To dump a database on a plesk server from the command line without having to faff about with the password file.
MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysqldump -u admin DATABASE_NAME > /full/path/to/BACKUP_FILE_NAME.sql
To dump a database on a plesk server from the command line without having to faff about with the password file.
MYSQL_PWD=`cat /etc/psa/.psa.shadow` mysqldump -u admin DATABASE_NAME > /full/path/to/BACKUP_FILE_NAME.sql
Copyright © 2025 | WordPress Theme by MH Themes
Leave a Reply