To dump the content of a MySQL database in an .sql file you can run the following code:
1 | mysqldump -uadmin -p` cat /etc/psa/ .psa.shadow` DATABASENAME > FILE_NAME.sql |
You can copy that code to the spool to automate this process.
To dump the content of a MySQL database in an .sql file you can run the following code:
1 | mysqldump -uadmin -p` cat /etc/psa/ .psa.shadow` DATABASENAME > FILE_NAME.sql |
You can copy that code to the spool to automate this process.