Good day everyone. Maybe ask a stupid question but I can not figure it out. On the server there are many databases and you need to backup. But through phpmyadmin, you can either get all the databases in one file at once, or each separately. How to make so that the backup of all databases is not saved in one file but each database in its sql file.
- @ alexsis20102 And what the console does not suit you . In your case, you need a sequential invocation of commands - romeo
- Is there a specific example ?? It is necessary that a backup be run, each database is saved into a separate file with the database name and the sql extension, after which it is possible to be archived and issued for a jump. - alexsis20102
|
1 answer
Actually, the shell . Correct the database names in it.
bash /home/romeo/dumps.sh -u username -p pass For home builds I use phing ( build example ), as well as ansible
|