Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #11  
Old 06-01-2008, 05:11 PM
Ideal Web Tech's Avatar
Ideal Web Tech Ideal Web Tech is offline
 
Join Date: Feb 2008
Posts: 273
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your attachments should be stored in the file system then you wouldn't have this problem. Ive had this problem a few times before and it usually consisted of a problem because the attachment table store file data it can really range for what the contents are. If you can get a backup with individual insert statements you should be able to get all the attachments but the ones that contain the problematic data.
Reply With Quote
  #12  
Old 06-01-2008, 05:36 PM
uberjon uberjon is offline
 
Join Date: Sep 2006
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kartik786 View Post
After unpacking the .sql file and importing it, we got the following error
what did you unpack it with? if the database was .tar.gz'd in a linux environment. you dont dare try to "unpack" or "extract" it on a windows machine. or it will corrupt the DB
Reply With Quote
  #13  
Old 06-01-2008, 06:13 PM
kartik786 kartik786 is offline
 
Join Date: Aug 2005
Location: India
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
what did you unpack it with? if the database was .tar.gz'd in a linux environment. you dont dare try to "unpack" or "extract" it on a windows machine. or it will corrupt the DB
Nope, i did not unpack it. the tech from where i purchased the new semi dedicated server performed all steps from downloading the dump to restoring them to informing me about the unknown command error that they are facing.
Reply With Quote
  #14  
Old 06-01-2008, 06:49 PM
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Location: Indianapolis
Posts: 2,451
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you were on a dedicated machine before you should have ssh access where you can perform the database back up, and move yourself even if the host only allowed 2GB downloads for whatever reason.

using a command like

mysqldump -u mysql_user -p -h localhost > databaseback.sql

scp databaseback.sql user@new.server.ip:/home/location/to/store on the old machine

If they still dont want to help you out since you're moving. Try to access your old site via ip.add.res.s and move your attachments from the database into the file system using the tools in admincp.

Then get a new database dump, and move the attachment folder to your new host.
Reply With Quote
  #15  
Old 06-01-2008, 08:14 PM
kartik786 kartik786 is offline
 
Join Date: Aug 2005
Location: India
Posts: 175
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, here's an update, as for my old host ,
Quote:
As I said before, these tables do not exist.


mysql> use my_vb_database

216 rows in set (0.00 sec)



You've been given full database dumps. We can't help you any further.
Now how foolish can some hosting company be, saying the vbulletin backup mysql did not have * attachment * tables.


Fortunately, I had a database dump dated Jan 2007, snakes1100 here helped me restore those attachments in the latest database. So though many attachments will go missing, the forum still will function for now.

At the end of it, thanks to snakes1100 , my forum is back up and running
Reply With Quote
  #16  
Old 06-02-2008, 01:03 PM
snakes1100 snakes1100 is offline
 
Join Date: Dec 2001
Location: Michigan
Posts: 3,733
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, this is more of a warning post for users who use dreamhost, i wont post all the details of the situation about this, but i will say this:

His db backup that was incomplete was rather odd looking, it had every table except the 3 required tables for attachments, due to why he changed hosts, i believe dreamhost might of intentionally removed the 3 tables in question from his backup before they sent it to him, seeing as every other table in the two db's existed, it would be kinda hard for the 3 tables in question to not be there if they did a dump via mysql.
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:29 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.05937 seconds
  • Memory Usage 2,212KB
  • 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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete