Thread tagged as: Question, Backup

Unable to backup database

Hi, Backup app doesn't let me save database. Any idea about what I have to do?

Perch: 2.8.31, PHP: 5.6.24, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $, with PDO
Server OS: Linux, cgi-fcgi
Installed apps: content (2.8.31), assets (2.8.31), categories (2.8.31), perch_blog (5.0), perch_forms (1.8.3), perch_backup (1.2)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_blog', 'perch_forms', );
PERCH_PATH: /home/raulserrano/
PERCH_CORE: /home/raulserrano/
PERCH_RESFILEPATH: /home/raulserrano/
Image manipulation: GD Imagick
PHP limits: Max upload 64M, Max POST 65M, Memory: 90M, Total max file upload: 64M
F1: 2edba60ed1f613d6dd804feb202456a2
Resource folder writeable: Yes
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
REQUEST_URI: /perch/core/settings/diagnostics/
DOCUMENT_ROOT: /home/raulserrano/
Raul Serrano

Raul Serrano 0 points

  • 4 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

What happens when you try to backup? You would need to give us some more information if you would like us to help.

It appears a red STOP signal with "MySQL Database" on Perch's app page

Server support: "Looks like mysqldump is fine to run on php, so if you are having issues most likely it is related to the credentials you are using or the back up script's coding."

Drew McLellan

Drew McLellan 2638 points
Perch Support

Have you set the path to mysqldump on the settings page?

I don't know what path to write on settings page, and Dreamhost support is telling me:

I don't believe we have a "path"
That's the only way to access the MySQL databases
You don't have shell access to to in our servers
They are stored in separate servers as web files
Only way to run the mysqldump command is using the information I provided`
Otherwise you'd need a dedicated server where the mysql files are stored in the same server as web files
Drew McLellan

Drew McLellan 2638 points
Perch Support

Ok - what information did they provide? I don't think people generally have problems with Dreamhost.

They talk me about shell users and commands, but what I was asking for was for that php path... what should I try?

Drew McLellan

Drew McLellan 2638 points
Perch Support

What value do you have set for the path? At a minimum it should be mysqldump

mysqldump path worked..! — Thanks Drew for this sunday support