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

Reply
 
Thread Tools Display Modes
  #1  
Old 05-21-2012, 12:32 AM
Dark Navi Dark Navi is offline
 
Join Date: Jan 2011
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Database help

Ok I'm pretty sure this can go here?



My problem is that I need to export 'vb3' (My current database) but it's not in .sql format on my server.

It's a folder containing a load of tables;



I can't access my site as I'm in recovery mode on my server, so phpmyadmin etc is out of the question.

I've already got a backup of my files, and I'm having my server reinstalled so I just need to know how I can safely backup this database for use on the new installation.

Can I just download the folder and upload it to the same directory on the new installation?

Preferably I'd like to have the database in a .sql format.
Reply With Quote
  #2  
Old 05-21-2012, 12:50 AM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know the answer about whether or not just copying those files would do it. But do you have access to the command line? Here's one page I found while doing a search for "mysql backup via command line": http://www.iis-aid.com/articles/how_...m_command_line
Reply With Quote
  #3  
Old 05-21-2012, 12:56 AM
Dark Navi Dark Navi is offline
 
Join Date: Jan 2011
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah I know how to do that but I get various errors, I was just wondering if there is like an application on windows/mac that will allow me to convert this folder to .sql
Reply With Quote
  #4  
Old 05-21-2012, 10:44 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

From what i understand you have to create your vb4 installation, including database, make sure the database is the same name as the one you have then import your downloaded database in to it, it's not just a straight swap as vb4 has more tables and columns.

Have you asked at vbulletin how to do this?, i believe you could use impex.
Reply With Quote
  #5  
Old 05-22-2012, 05:23 PM
Dark Navi Dark Navi is offline
 
Join Date: Jan 2011
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You misunderstand, ignore the vb4 folder, I'm not longer using vb4, I downgraded my database to vb3 via Impex and it worked perfectly.

There were some problems with the server so I had to grab all of my files via SFTP including the database in raw format (the folder)

I'm trying to use that folder on my new server, I'm getting a database error however, as phpmyadmin sees the tables, but they are empty.
Reply With Quote
  #6  
Old 05-22-2012, 08:41 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

whats the databse error? if you are using the folder for the exact same url then you shouldn't have any issues.

Edit: the sql table/info i believe is held outside of the forum folder and above public_html
Reply With Quote
  #7  
Old 05-22-2012, 09:33 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Some info here-
http://stackoverflow.com/questions/4...physical-files
Reply With Quote
  #8  
Old 05-23-2012, 12:43 AM
Dark Navi Dark Navi is offline
 
Join Date: Jan 2011
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Still getting errors;

Phymyadmin;

#1017 - Can't find file: './db0/word.frm' (errno: 13)

(db0 being database name)

I'm getting these errors despite the file existing;



--------------- Added [DATE]1337737774[/DATE] at [TIME]1337737774[/TIME] ---------------

Ok that was moronic on my half, it was down to chmod settings, phpmyadmin now lists the tables and contents, but I still get a database error on my site, should the database folder within mysql be 755 or 644?
Reply With Quote
  #9  
Old 05-23-2012, 12:51 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No idea on the chmod but what is the total file size of your database files? the 9.4kb I'm seeing on that screenshot isn't remotely close to the size needed to be holding your VB data.
Reply With Quote
  #10  
Old 05-23-2012, 01:08 AM
Dark Navi Dark Navi is offline
 
Join Date: Jan 2011
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by BirdOPrey5 View Post
No idea on the chmod but what is the total file size of your database files? the 9.4kb I'm seeing on that screenshot isn't remotely close to the size needed to be holding your VB data.
That screenshot just shows the database folder name (db0) and the first table starting in reverse order (Word.MYI/MYD/frm)

The actual database is ~400MB

--------------- Added [DATE]1337752752[/DATE] at [TIME]1337752752[/TIME] ---------------

Fixed
Reply With Quote
Благодарность от:
BirdOPrey5
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 11:40 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.08744 seconds
  • Memory Usage 2,252KB
  • 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
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (1)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete