Giter Site home page Giter Site logo

Comments (4)

theMikeD avatar theMikeD commented on June 26, 2024

Never mind, I wrote my own

https://github.com/theMikeD/wpdbtransfer/

...Mike

from search-replace-db.

roborourke avatar roborourke commented on June 26, 2024

Hi Mike,

Nicely done :)

It's an interesting idea but would require a fair bit of planning to add to
the UI. I've not come across a use-case where I've wanted to search/replace
an SQL dump directly as it'll be just be getting imported somewhere anyway.

Is it to avoid the downtime of possibly running search/replace on a
production site?

from search-replace-db.

theMikeD avatar theMikeD commented on June 26, 2024

It's because I'm lazy :)

If I can run it on a command line, then I can make a script to feed it the required variables. And if I can do that, then once I set it up, doing future adjustments is one click: run the shell script that runs the script and presto, done.

I move databases around a lot, so I've found it's just easier to do it with a script, because the interface while awesome still asks me every time to put in the from and to replacement values.

Mine is a dumb fix in that it's not parsing the entire serialized data, just searching for strings and adjusting them. Seems to work so far though. I'll keep an eye on your project for sure, it's very slick.

from search-replace-db.

roborourke avatar roborourke commented on June 26, 2024

@theMikeD I'll close this ticket for now, do check out the CLI script that's available with this if you want to automate. I've updated it with lots of options recently.

from search-replace-db.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.