This topic is locked

backup a database from a phprunner application

2/20/2024 7:57:17 AM
PHPRunner General questions
I
I author

Hello everyone, I want to make a backup of the database possible in a phprunner application. That's what I tried to do with this example:
https://asprunner.com/forums/topic/19399-how-to-create-a-dump-of-mysql-database-in-one-click?fbclid=IwAR34OYX3PbHc8IcUz5tIEWKlyHdSOiVptUkj06dn9EjtWcFLrkhRElygVwg

This works great on localhost, but not on the hosting server where apparently the "mysqldump" program is not present according to an employee of the web hoster. Is there any other way to backup a database in a phprunner application? Thanks for your help.

admin 2/20/2024

My suggestion would be to find a web hosting company that provides access to mysqldump utility. It is a part of the standard MySQL package and should be available everywhere.

fhumanes 2/20/2024

Hello,

I think what you are looking for is what this example has: https://fhumanes.com/blog/guias-desarrollo/guia-50-backup-online-de-base-de-datos/

Greetings,
fernando