Populating development server with events from live server

Hi all,

This may end up just being a support request, but I figured I’d start here. I’m trying to populate our dev server with events from our live server, and I’m not 100% clear on how to do this. I’ve looked into the instructions on this page, and while it’s mostly clear, there are some particulars I could use some guidance on.

LiveWhale set up our dev server (we use the cloud hosting) and hosts our databases as well. Comparing the /core/config.php files from the two sites, the DB credentials and locations are currently different.

I hesitate to provide much more detail here since there’s a lot of server information involved, but figured I’d at least start the conversation here in the forums.

Thanks in advance,
Brian Byrne
Web Content Administrator
University of Central Oklahoma

I think what you need are the instructions here - Versions and Upgrades - LiveWhale Support.

It’s pretty straightforward. We just did this recently to get our recent prod content to our dev server.

1 Like

Hot dang, that is exactly what I was looking for! Thanks Jon!

1 Like

OK, it turns out this was related to what I was looking for, but I think there might be a configuration that’s not quite right. Or something.

Live site:

Dev site:

So at this point I’m officially getting into an area I am hesitant to explore further without some input. Please let me know when you get a minute.

Thanks,
Brian

Hey Brian – I think those steps are going to be work eventually, but it looks like there may be some hosting dev/prod connection setup steps that our team can help with (at no charge). I’d suggest submitting the Help Request Form and tagging a Hosting Question, and let us know the issues you’re having with the content pull and our team can check it out.

Karl

Will do, thanks Karl!

Awesome, all set – for future reference if anyone else runs into this, if you see the “This server has not yet been configured as a pull source…” message, the steps for setting that up are visible if you go to /livewhale/?updates_pull on your production site:

That popup when you click “Configure this site” will give you a code string that gets plugged into /livewhale/core/config.php on dev (to authorize it to push upgrades and receive content syncs), and then in the same spot in production you add 'PULL_SOURCE'=>'myschool-dev.lwcal.com', to tell it where your dev server is living.

But, this is almost always something our team would set up for cloud-hosted calendars and sites for you, so feel free to submit a hosting question using the Help Request Form if it’s giving anybody trouble.

1 Like