vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Sync'ing Dev with Live (https://vborg.vbsupport.ru/showthread.php?t=181433)

caliman 06-03-2008 10:18 PM

Sync'ing Dev with Live
 
Hi -

Previously I have done my upgrades right on the live site. Scary, unprofessional, etc.

I want to do it right this time.

Dev dir, swap dir with live.

However, there are a couple wrinkles here I need help with...

First, if I do a mysqldump from the live site to a sql file...

start a dev site with it...

THEN - do an upgrade on the dev site to the latest version...

1) Post upgrade, will another more current sql file from live swallow easily on the dev site with the changed DB schema or will it burp?

2) When dev server is nice and shiny, how do I reimport data from live to sync before switching live with dev?

I hope this makes sense...

Thanks in advance..

m

SEOvB 06-03-2008 11:01 PM

If you want to setup a test site all you need to do is this.

1. Make a backup of your current Database and files

2. Install a test install of vBulletin

3. Reinstall all modifications/templates and template edits

4. Perform testing on the dev site.

5. Backup database on live site

6. Upgrade live site with tests performed from dev site.

caliman 06-03-2008 11:27 PM

That's not what I want to do.

I want a dev site that is fully upgraded then swap dirs with live.

This avoids major downtime.

SEOvB 06-04-2008 04:15 AM

but exporting your database to test with, then performing the tests while your site is still running and then swapping the test database with the live database will lead to data loss from the time you did that export till the time you made your test live.

You can't export your database, do tests. Go re-export your live database again and merge it all together and throw it up, it wont work.

caliman 06-04-2008 05:06 AM

Quote:

Originally Posted by FRDS (Post 1540288)
but exporting your database to test with, then performing the tests while your site is still running and then swapping the test database with the live database will lead to data loss from the time you did that export till the time you made your test live.

That was my question. How do you do that part? Can you make it close? :)

Quote:

Originally Posted by FRDS (Post 1540288)
You can't export your database, do tests. Go re-export your live database again and merge it all together and throw it up, it wont work.

I am not sure I follow. I can export the db and bring it back without problems. It's the upgrade then re-import that I have a question about... what do you mean exactly?


All times are GMT. The time now is 01:15 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01474 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete