• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Backup all of mysql database

sao sang mo

New Pleskian
hi,
I run below command to backup all of databases:
mysqldump -uadmin -p`cat /etc/psa/.psa.shadow` -all-databases > /root/all-database.sql
but get problem:
mysqldump: Got error: 1049: Unknown database '–all-databases' when selecting the database

How can i solve it?
thanks
 
Read carefully help for mysqldump command. -all-databases is option but not name of database.
 
Back
Top