vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   Switching Hosts -- Am I out of luck? (https://vborg.vbsupport.ru/showthread.php?t=57537)

AndreaBash 10-01-2003 07:19 PM

Switching Hosts -- Am I out of luck?
 
I just spent a ton of time last night on getting a bunch of hacks working exactly how I wanted them. I've now realized I really do have to switch hosts and I am going to need to do that rather quickly.

I am going to attempt to bring my DB with me and I assume I can use the same PHP file edits... if I use the template backup system, will that allow me to keep my hacks?

Does the TBS work with 2.3.2? Is this all I need to keep my hacks safe? I am really freaked out about possibly losing my whole forum and I could just use some reassurance.

AndreaBash 10-01-2003 07:33 PM

One more thing... I know the directions say to Telnet, but am I going to be OK if I use the dump I create with PHPMyAdmin?

wooolF[RM] 10-01-2003 08:19 PM

]use phpmyadmin ONLY if your DB is small... that is under 20-30Mb... I wouldn't recommed using phpMyAdmin for backupping at all...

Backup your DB :
mysqldump --opt -h HOST_HERE -uLOGIN_HERE -p DATABASE_HERE | gzip -c --best > /path_to_your_folder/backup/`date +%d_%m_%y`.Forum.SQL.gz

Backup your files :
(let's say u want to backup whole WWW folder so then u have to cd .. once (level up)) then u use
tar cvpf Forum.tar www
and then
gzip -c --best Forum.tar > `date +%d_%m_%y`.Forum.tar.gz

Backup part done :)


Restoring DB:
gunzip DATE_OF_THE_FILE.Forum.SQL.gz
and then
mysql -h HOST_HERE -u LOGIN_HERE -p DATABASE_HERE < /path_to_your_folder/backup/DATE_OF_THE_FILE.Forum.SQL

Restoring your php files etc:
tar xvfz DATE_OF_THE_FILE.Forum.tar.gz


All u need :)
I moved host over 6 times now, I have +100-150 hacks installed... never had any probs :)

AndreaBash 10-01-2003 08:26 PM

Thank you, much. :)


All times are GMT. The time now is 08:45 PM.

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.00987 seconds
  • Memory Usage 1,710KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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