• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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