vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   If an update fails and test forum question (https://vborg.vbsupport.ru/showthread.php?t=201837)

CrashfAB 01-15-2009 04:55 AM

If an update fails and test forum question
 
Ok--so getting ready to update my forum.

First off its a decent size forum---over 5000 members with over 500 users a day....

So hypotheticaly speaking

If I backup my database--and copy all the files via ftp as a backup (forum files)

If I should crash it bad--can I copy back via ftp the files I backed up(forum files) and use my database backup and be back to square 1?

I am just very nervouse about updating my forum and killing it without having some way to practice it first...

RedeemedWarrior 01-15-2009 04:57 AM

if you backup everything then yes :)

CrashfAB 01-15-2009 05:22 AM

Quote:

Originally Posted by RedeemedWarrior (Post 1712974)
if you backup everything then yes :)

Thank you.........

I have another question--a little more technical.......:D

So can I copy my forum to a different location. Take either a new database or a backup copy and run my forum as a test forum. Then can I take trial runs on updating my forum? The main reason for this--would be so I could practice on editing my modified templates and also see what hacks will work with 3.8.0 along with vBadvanced ...

Dismounted 01-15-2009 05:27 AM

Quote:

Originally Posted by CrashfAB (Post 1712992)
So can I copy my forum to a different location. Take either a new database or a backup copy and run my forum as a test forum. Then can I take trial runs on updating my forum? The main reason for this--would be so I could practice on editing my modified templates and also see what hacks will work with 3.8.0 along with vBadvanced ...

In a nutshell, yes.

When upgrading, I copy my live database onto the test installation. Perform the upgrade to test. Then update and export the style. Test functionality and fix up if need be.

After that, it's just a matter of upgrading the live forum and overwriting the style.

CrashfAB 01-15-2009 05:36 AM

Quote:

Originally Posted by Dismounted (Post 1712996)
In a nutshell, yes.

When upgrading, I copy my live database onto the test installation. Perform the upgrade to test. Then update and export the style. Test functionality and fix up if need be.

After that, it's just a matter of upgrading the live forum and overwriting the style.

ahhhh---that makes alot of sense--- edit the templates, export the style since the templates are in the style--then import them onto the life forum. That way you have kicked the down time alot--and you can work for a couple days getting the templates taken care of.

Very nice...

One question, when you say copy your database---do you mean make a physical copy of it and run that? My database knowledge is pretty slim--I only know what I have learned with installing VBB and creating a database...

Dismounted 01-15-2009 06:52 AM

Quote:

Originally Posted by CrashfAB (Post 1713003)
One question, when you say copy your database---do you mean make a physical copy of it and run that? My database knowledge is pretty slim--I only know what I have learned with installing VBB and creating a database...

I have a dedicated server which (among other things), allows me to use the SSH command line. From there, I can "talk" to MySQL directly and issue commands, such as to backup, or to restore, etc.

The only reliable method of backing up and restoring a database is with shell access via telnet or ssh. This is because backing up with a PHP script like that in the Admin CP or phpMyAdmin can result in PHP timeouts errors and an incomplete backup file. Please see the instructions here:

Backup:
http://www.vbulletin.com/docs/html/m...nce_ssh_backup

Restore:
http://www.vbulletin.com/docs/html/m...ce_ssh_restore

P.S. If you don't have shell access, some people have also reported success with these scripts:

MySQLDumper:
http://www.mysqldumper.de/en/index.php

MySQLHotxcopy:
http://www.vbulletin.com/forum/showt...t=mysqlhotcopy

Bigdump:
http://www.ozerov.de/bigdump.php


All times are GMT. The time now is 08:01 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.01125 seconds
  • Memory Usage 1,730KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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