<![CDATA[ [TIP] Making Site moves from Staging to Production Easier - My Forums]]> https://forums.modx.com/thread/?thread=19699 <![CDATA[Re: [TIP] Making Site moves from Staging to Production Easier]]> https://forums.modx.com/thread/19699/tip-making-site-moves-from-staging-to-production-easier?page=2#dis-post-109441 That is possible if you have a TCP-access to the server (depends on the provider).

By the way I have 2 proposals

  • How about a further option just to truncate the tables and build the INSERT-statements ? Not every time it is needed to generate the the tables again.
    I have some trouble because the MySQL version of the server is older than the version I use locally - so I have to search for certain parts of the CREATE-statement to be changed.
  • What about to generate the Log-Tables but without INSERT statements ? They make the file very large and they are not needed every time.
]]>
persepolis Jul 28, 2006, 11:02 AM https://forums.modx.com/thread/19699/tip-making-site-moves-from-staging-to-production-easier?page=2#dis-post-109441
<![CDATA[Re: [TIP] Making Site moves from Staging to Production Easier]]> https://forums.modx.com/thread/19699/tip-making-site-moves-from-staging-to-production-easier?page=2#dis-post-109440 http://modxcms.com/moving-sites-to-new-servers.html for the main instructions on moving sites to new servers; I’ll see if I can’t get someone on the doc team to update the page for us, to include the tip information.]]> opengeek Mar 25, 2006, 07:30 PM https://forums.modx.com/thread/19699/tip-making-site-moves-from-staging-to-production-easier?page=2#dis-post-109440 <![CDATA[Re: [TIP] Making Site moves from Staging to Production Easier]]> https://forums.modx.com/thread/19699/tip-making-site-moves-from-staging-to-production-easier#dis-post-109439
Quote from: Dimmy at Jan 23, 2006, 10:52 PM

copy modx to the new server
make a backup of your database (add droptable)
open the sql in notepad do a search and replace of the domain, import the database back and your done.

I’m planning to move my site on another host, so your tip seems to be very interesting. However, I guess the file config.inc.php must be also updated ... Is there some other files to update ?

Tristan

]]>
Taz Mar 25, 2006, 09:36 AM https://forums.modx.com/thread/19699/tip-making-site-moves-from-staging-to-production-easier#dis-post-109439
<![CDATA[Re: [TIP] Making Site moves from Staging to Production Easier]]> https://forums.modx.com/thread/19699/tip-making-site-moves-from-staging-to-production-easier#dis-post-109438 Quote from: bugsmi0 at Mar 23, 2006, 08:01 PM

One of the problems I’ve found when backing up a database and re-inserting into server database is there may exist in a stock installation some data ID or user ID when you insert the stuff it often ends up refused due to already existing ID.

Does this happen also with Modx ?

It won’t happen, if you ensure that your database clean from previous MODx installation or some other database application. If it’s empty, 99.99% it won’t happen. The last 0.01% is due to unknown reason that sometimes just happen, even though you’ve done everything correctly. wink]]>
wendy Mar 23, 2006, 03:41 PM https://forums.modx.com/thread/19699/tip-making-site-moves-from-staging-to-production-easier#dis-post-109438
<![CDATA[Re: [TIP] Making Site moves from Staging to Production Easier]]> https://forums.modx.com/thread/19699/tip-making-site-moves-from-staging-to-production-easier#dis-post-109437 CSS as document technique smiley

I’ll really try to write the tuto soon, been overworked lately...]]>
davidm Feb 28, 2006, 01:20 PM https://forums.modx.com/thread/19699/tip-making-site-moves-from-staging-to-production-easier#dis-post-109437
<![CDATA[Re: [TIP] Making Site moves from Staging to Production Easier]]> https://forums.modx.com/thread/19699/tip-making-site-moves-from-staging-to-production-easier#dis-post-109436 davidm Jan 24, 2006, 05:29 AM https://forums.modx.com/thread/19699/tip-making-site-moves-from-staging-to-production-easier#dis-post-109436 <![CDATA[Re: [TIP] Making Site moves from Staging to Production Easier]]> https://forums.modx.com/thread/19699/tip-making-site-moves-from-staging-to-production-easier#dis-post-109435 zombiemx Jan 24, 2006, 03:50 AM https://forums.modx.com/thread/19699/tip-making-site-moves-from-staging-to-production-easier#dis-post-109435 <![CDATA[Re: [TIP] Making Site moves from Staging to Production Easier]]> https://forums.modx.com/thread/19699/tip-making-site-moves-from-staging-to-production-easier#dis-post-109434

MODx is great as far as reducing the cycle from test to production server smiley]]>
davidm Jan 23, 2006, 05:36 PM https://forums.modx.com/thread/19699/tip-making-site-moves-from-staging-to-production-easier#dis-post-109434
<![CDATA[Re: [TIP] Making Site moves from Staging to Production Easier]]> https://forums.modx.com/thread/19699/tip-making-site-moves-from-staging-to-production-easier#dis-post-109433
copy modx to the new server (if posible use flashfxp for server2server transfer, server needs to suport fxp)

make a backup of your database (add droptable)
open the sql in notepad do a search and replace of the domain, import the database back and your done.

do a refresh of the site ones your logged in to get all the cash refreshed

Greets Dimmy


]]>
Dimmy Jan 23, 2006, 04:52 PM https://forums.modx.com/thread/19699/tip-making-site-moves-from-staging-to-production-easier#dis-post-109433
<![CDATA[Re: [TIP] Making Site moves from Staging to Production Easier]]> https://forums.modx.com/thread/19699/tip-making-site-moves-from-staging-to-production-easier#dis-post-109432
The only problems I have had so far are character encoding (those french accents...), but that’s due to different setup between local and server MySQL version and/or settings...]]>
davidm Jan 23, 2006, 03:07 PM https://forums.modx.com/thread/19699/tip-making-site-moves-from-staging-to-production-easier#dis-post-109432