Jump to content

Connecting 2 PW enviroments/DBs together for copying info


Michiel Auerbach
 Share

Recommended Posts

Hi all,

I have several PW DB's / enviroments with one 'master' and several clones. When I update the master with new templates / fields or information (etc.) I now need to connect to every clone manually to enter the info in that enviroment (or connect to the DB and do some search-replace things which works as long as you dont fuck up offcourse)

Is there some way to do this? I tried connecting to two PW's but when I try I get an obvious error:  Cannot redeclare ProcessWireBootConfig().

Link to comment
Share on other sites

This is where I put my hands up and say I aint a tech!

But, isn't it usual to do this the other way around? In other words, write a script that runs in each of the clones and looks at the master and does a file compare, then updates if required. So, pull the new bits rather than try and push them.

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...