vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   Database Restore error (https://vborg.vbsupport.ru/showthread.php?t=181197)

kartik786 06-01-2008 01:45 PM

Database Restore error
 
Dear community,

My old hosting gave me a database backup dump split in 2 files. The total database is of the size 2.5 gb split in files of 1.5gb and 1 gb.

We concatenated the files with the command

Quote:

cat db.tar.a db.tar.b >> db.tar
After unpacking the .sql file and importing it, we got the following error


ERROR at line 5804: Unknown command '\"'.

When checking in the tables phpmyadmin, the attachment tables which are the most important part of the site are missing.

Please guide as to how to go about solving this issue.

SEOvB 06-01-2008 02:40 PM

any chance you can just get one large DB backup from your host?

kartik786 06-01-2008 02:46 PM

NO, unfortunately the old host has said that they have sent the final database split in 2 files and thats about it :(

they have a http download limit of 2 gb and hence the 2 files split. I emailed them, but they replied negative.

WEBDosser 06-01-2008 03:13 PM

the missing tables.. are they in either of the two backup files and what did they split the file with?. or did they just select parts of the database for each file?..

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

maybe also try zcat.

kartik786 06-01-2008 03:21 PM

I am unable to see the missing tables because when restoring the database, I get the following error
Quote:

ERROR at line 5804: Unknown command '\"'.
I am assuming that the attachment tables are missing because of this error.

Quote:

did they just select parts of the database for each file?..
No, they dumped the whole database.

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

Quote:

maybe also try zcat.
please elaborate.

WEBDosser 06-01-2008 03:28 PM

do a search google for zcat.. works like gzip & gunzip

options here..
http://www.esrl.noaa.gov/gmd/hats/in...xman/gzip.html

kartik786 06-01-2008 03:36 PM

Okay, since I am not tech savvy kiril_cvetkov has offered his services :)

I will update him about your suggestion.

SEOvB 06-01-2008 03:45 PM

Quote:

Originally Posted by kartik786 (Post 1537871)
NO, unfortunately the old host has said that they have sent the final database split in 2 files and thats about it :(

they have a http download limit of 2 gb and hence the 2 files split. I emailed them, but they replied negative.

That sucks, i can't beleive they wouldn't even let you use SSH to transfer a site/db that is so large.

You'll have to put the two files together using the method you already tried, then open up the .sql file that results go to line 5804 and see what it says.

kiril_cvetkov 06-01-2008 03:51 PM

the database is more then 2gb in 2 parts.. the attachment table is the main table (takes the most of the space).. i try to fix.. but it's a huge thing..
I can't help :(

kartik786 06-01-2008 04:04 PM

Okay, the database file size is huge.. any other suggestions that can solve the problem ?


All times are GMT. The time now is 09:20 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.02371 seconds
  • Memory Usage 1,738KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete