Forum Moderators: open

Message Too Old, No Replies

Alternatives to Big Dump that are compatible with php7?

         

thecoalman

2:00 pm on Jul 3, 2020 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I don't need this for myself, I use command line. :) I'm writing article intended for audience that may not have access to command line or php settings on shared hosting.

If you aren't familiar with it Big Dump it's a php script used for staggered import of large databases so you can skirt php limitations. The SQL file can be uploaded via FTP and the script runs the queries in batches. It's not compatible with php7 so I need alternative. Surprisingly I'm running into brick wall for alternatives.

graeme_p

12:10 pm on Jul 5, 2020 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I think the problem is that people who do not use the command line rely on hosts to provide and restore backups. People who can write a script like this will use hosting that gives them a command line. People with a database big enough to hit limits (which are a lot higher than the used to be) also probably use the command line.

However, there is this: [github.com...]

Its a shell script, but you could write a PHO wrapper or run it as a CGI script.

thecoalman

3:10 am on Jul 6, 2020 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Thanks for the suggestion. The problem is the target audience may include people that need explanation on something as simple as FTP. I need something that I can point a link too and say download this, configure these lines with editor blah blah, blah, blah. It's got to be as simple as possible.

thecoalman

4:31 am on Nov 13, 2020 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Was going to edit my previous post but couldn't, Seems I was wrong and it does work with newer versions of PHP. The issue is if you are using extended inserts.