vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Need a utility to scan .sql files for coruption (https://vborg.vbsupport.ru/showthread.php?t=96560)

Gutspiller 09-19-2005 04:36 PM

Need a utility to scan .sql files for coruption
 
I have backed up some sites I have that use mysql (vbulletin and others) using phpmyadmin, but is there any program out there that will tell me if I've gotten all the info in the .sql file and make sure that all the data is included in the .sql file and nothing is missing?

If anybody knows of something like this, please let me know as I could really use a utility like this.

Thank you.

Marco van Herwaarden 09-19-2005 06:02 PM

? program like that would be facing a chicken and egg problem. How this program should know there is something missing if it is not there. ;)

Dan 09-19-2005 06:04 PM

This brings us the more ultimate question....

What came first the chicken or the egg?

Marco van Herwaarden 09-19-2005 06:28 PM

My mother

Gutspiller 09-20-2005 02:23 PM

Is what I ment is for the program to detect if there is corruption inside the sql file. I thought that was what I asked?

filburt1 09-20-2005 03:36 PM

You could set up a database on a separate system and execute the SQL file. If it completes successfully, then it's likely fine. Also look at the very end of the file which is where any corruption would have likely occurred. There may also be a simulator mode for MySQL which interprets the queries but doesn't really execute them.

Gutspiller 09-20-2005 05:44 PM

re-executing the sql file wouldn't work as I have about 8 sites and was looking for a faster way. Guess a program doesn't exist. I will check the end of the files to see if I can even understand it. What would be the best to open the sql file though? My forum sql file is 800 MB, I don't think notepad would like that.

Marco van Herwaarden 09-20-2005 06:23 PM

On a Unix/Linix system, best is to use: tail -20 <filename>
Otherwise a decent editor that can handle big files.


All times are GMT. The time now is 03:08 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.01060 seconds
  • Memory Usage 1,714KB
  • 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
  • (8)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