vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Database Backup (https://vborg.vbsupport.ru/showthread.php?t=158325)

RichieScott1 09-20-2007 10:09 PM

Database Backup
 
When I use the admincp to backup my database, it stops at vb_postindex and never completes the backup. Has anyone ever heard of this?

Eikinskjaldi 09-20-2007 10:30 PM

Quote:

Originally Posted by RichieScott1 (Post 1343445)
When I use the admincp to backup my database, it stops at vb_postindex and never completes the backup. Has anyone ever heard of this?

admincp is notoriously bad at backing up large databases.

toggle the option to use mysql indexing instead of vb indexing, and the postindex table will go away.

...and get a better back up system

Dismounted 09-21-2007 04:08 AM

Many people have reported success in backing up databases with MySQLDumper. But the best way to back up databases is through SSH.

Marco van Herwaarden 09-21-2007 05:11 PM

The only reliable method of backing up and restoring a database is with shell access via telnet or ssh. This is because backing up with a PHP script like that in the Admin CP or phpMyAdmin can result in PHP timeouts errors and an incomplete backup file. Please see the instructions here:

Backup:
http://www.vbulletin.com/docs/html/m...nce_ssh_backup

Restore:
http://www.vbulletin.com/docs/html/m...ce_ssh_restore

P.S. If you don't have shell access, some people have also reported success with these scripts:

MySQLDumper:
http://www.mysqldumper.de/en/index.php

MySQLHotxcopy:
http://www.vbulletin.com/forum/showt...t=mysqlhotcopy

Bigdump:
http://www.ozerov.de/bigdump.php

therogueforums 11-10-2007 03:18 PM

Quote:

Originally Posted by Dismounted (Post 1343598)
Many people have reported success in backing up databases with MySQLDumper. But the best way to back up databases is through SSH.

You, Sir/Ma'am, are a God-send for that suggestion. I was in a real tight pinch last night- current host was being rather abusive, locked out phpmyadmin, and wouldn't give me a copy of the database. And it was way too large to export through the ACP. the SQLDumper worked frikkin' magic for me.

helpmehost 11-10-2007 03:26 PM

thanks big help


All times are GMT. The time now is 04:28 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.01520 seconds
  • Memory Usage 1,718KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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