Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 07-19-2010, 09:35 AM
Hoberz Hoberz is offline
 
Join Date: May 2010
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Forum Backup Restoration Help...

I am trying to move my forum/database from one webhost to another webhost.

Can someone explain to me how to restore my forum on the new webhost with a sql.qz back-up file? Is this possible or not? When I try to restore it via phpMyAdmin, I get error messages because the forum database name isn't the same as the database I created (if database name was 1234_server, I can only create server_1234 on the new webhost).

Help would be very appreciated -- it sounds as if I should resort to using SSH/Telenet, but someone else was hosting for me rather and I don't really want to give him my log-in information.

Thanks!
Reply With Quote
  #2  
Old 07-19-2010, 11:26 AM
your24hourstore your24hourstore is offline
 
Join Date: Feb 2010
Posts: 1,226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

the database will be named the same as the sql file
so you may have to rename it to the new databases name

depending on your host the first part of the database may take 7 or 8 letters from the Domian name example if your domain is houseforsale.com

your database may need some of that to create your database, like

housefo_ the rest is a name you have selected like house so the database will look like housefo_house when you download the sql file it will look like house.sq.gz if it has been compressed using that format that file name can be changed as long as you upload a saved database that matches the database it will take it.

now you may have to change your paths in config.php because that information is not going to be correct if you have changed anything in it that it needs to find the database such as passwords or file paths.

hope it helps , but as long as you have a good saved backup in sql.gz file you can move the data, you may want to upload the vb software to the new server. then overwrite it all when you have it setup correctly with your old data
and can use the same config.php file for both databases
Reply With Quote
  #3  
Old 07-19-2010, 06:59 PM
Hoberz Hoberz is offline
 
Join Date: May 2010
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I try to restore via the restore a MySql Database option, I get a PHP timeout (could be because it's 10MB in size?)

When I try to restore via phpMyAdmin, I get this message: #1044 - Access denied for user 'thelight'@'localhost' to database 'C278638_thelightninglane'

Can someone explain to me what these errors are?

Thanks!
Reply With Quote
  #4  
Old 07-19-2010, 07:13 PM
borbole's Avatar
borbole borbole is offline
 
Join Date: Jan 2010
Posts: 2,559
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hoberz View Post
When I try to restore via the restore a MySql Database option, I get a PHP timeout (could be because it's 10MB in size?)

When I try to restore via phpMyAdmin, I get this message: #1044 - Access denied for user 'thelight'@'localhost' to database 'C278638_thelightninglane'

Can someone explain to me what these errors are?

Thanks!
It looks like the db user hasn'''t gotten full permissions to the db he is assigned to.

About the restoration process, some hosts have file size limit restrictions, so it would be best if you restored it through some other ways. Such as via SSH for ex, if your have SSH access. Or through bigdump.php file or mysql dumper.
Reply With Quote
  #5  
Old 07-19-2010, 10:49 PM
your24hourstore your24hourstore is offline
 
Join Date: Feb 2010
Posts: 1,226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Hoberz View Post
When I try to restore via the restore a MySql Database option, I get a PHP timeout (could be because it's 10MB in size?)

When I try to restore via phpMyAdmin, I get this message: #1044 - Access denied for user 'thelight'@'localhost' to database 'C278638_thelightninglane'

Can someone explain to me what these errors are?

Thanks!
as Barbole said its probibly that you have not given yourself full permissions in your new datbase. so go to your database and add yourself to the database but also give yourself all permissions
Reply With Quote
  #6  
Old 07-20-2010, 02:25 AM
Hoberz Hoberz is offline
 
Join Date: May 2010
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had permissions in the new database, so it was kind of weird to me.

I had the webhost's support team restore the database for me and it's working now.

Thanks for your help
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:37 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.03699 seconds
  • Memory Usage 2,204KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete