Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
vB Database Backup Pro (Lite) for vb 3.6 Details »»
vB Database Backup Pro (Lite) for vb 3.6
Version: 2.12, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.6.x Rating:
Released: 09-17-2006 Last Update: 10-09-2006 Installs: 582
Auto-Templates
Re-useable Code Additional Files Translations  
No support by the author.

This modification is no longer available or supported.

When vb 3.5 first came out I was using this backup system on my vb 3.0 - and having nothing better to use - I converted it to work on vb 3.5 (here) and since then I have cut it down and adapted it for vb 3.6.

The original version was by Trigunflame and the rights to the code were bought by Zoints (D.Chapman) in January. A while ago David gave me permission to release my adaption, but until now I haven't got round to it. Trigunflame did mention a few months ago he was working on a new version, but nothing ever appeared.

I have stripped out much of the extra stuff that I do not use (or indeed, could not get to work). This is a simple (lite) version that does a php based dump of your database either as one file, or one file per table. It's been in use on our forum since the day 3.6 was installed.

Notes:
* I will not add anything new to this, or spend vast amounts of time supporting it.
* This is a Lite version to allow people to use the basic 3.0 backup functionality on 3.6.


History:

v2.10 : First internal version.
v2.11 : Bug fixes, some code changes.
v2.12 : Initial Public Release.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #442  
Old 11-15-2007, 04:40 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've had it happen randomly in the past, so I no longer use the option.
Reply With Quote
  #443  
Old 11-15-2007, 06:06 PM
JohnBee JohnBee is offline
 
Join Date: Oct 2004
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Walked into my forum today only to find it was closed for backup! I received countless emails that the site was closed all day.

What's more interesting is I had no option to turn it back on lol
Anyways, I uninstalled this hack until it gets fixed.
Reply With Quote
  #444  
Old 11-15-2007, 08:06 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by JohnBee View Post
What's more interesting is I had no option to turn it back on lol
Anyways, I uninstalled this hack until it gets fixed.
You turn it on in the ACP.

It's not going to get "fixed" as there is nothing to fix, it's just a blip that sometimes happens. Like database errors.

Uninstalling it is a pointless and extreme route to take, just don't use the option if it bothers you. There is no need to close the forum during a backup.
Reply With Quote
  #445  
Old 11-15-2007, 09:49 PM
melbo melbo is offline
 
Join Date: Jun 2006
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Strange. I had the same thing happen last night.
Forum was closed all day and I had to go into vb options/ turn your forum on and off and turn it off and then back on to clear it up.

I've used this backup without fail for awhile now and this is the first problem I've had.
Odd that it happened to another forum as well at the same time.

In scheduled tasks / database backup / edit, I see no option to not turn the forum off. How would I do this?

Thanks. I really love this mod.

I'm going to check it tomorrow morning and see if it happens again tonight.
Reply With Quote
  #446  
Old 11-15-2007, 10:40 PM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by melbo View Post
In scheduled tasks / database backup / edit, I see no option to not turn the forum off. How would I do this?
Open /includes/mysqlbackupconfig.php.

Find at lines 8-10:

Code:
  //  Forum Shutdown System
  $backup['SHUTDOWN'] = 0;
  $backup['MESSAGE'] = "The Forum is closed because a database backup is in progress.";
Make sure that $backup['SHUTDOWN'] = 0.
Reply With Quote
  #447  
Old 11-15-2007, 10:56 PM
melbo melbo is offline
 
Join Date: Jun 2006
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks
Reply With Quote
  #448  
Old 11-16-2007, 04:28 AM
JohnBee JohnBee is offline
 
Join Date: Oct 2004
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
You turn it on in the ACP.

It's not going to get "fixed" as there is nothing to fix, it's just a blip that sometimes happens. Like database errors.

Uninstalling it is a pointless and extreme route to take, just don't use the option if it bothers you. There is no need to close the forum during a backup.
Right... the problem is it was not off in ACP so there was nothing to turn on. It went away once the forums were turned off in ACP then back on again.
Reply With Quote
  #449  
Old 11-17-2007, 11:34 AM
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Posts: 2,601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been running this mod for some time now, I think since 3.64 or maybe earlier.

This morning, I received an email warning with this error - the Backup add-on is the only cron job that would have been running at the time in question:

Quote:
Database error in vBulletin 3.6.8:

Invalid SQL:
SHOW CREATE TABLE `vbtaggregate_temp_1195286160`;

MySQL Error : Table '{forum info deleted}.vbtaggregate_temp_1195286160' doesn't exist
Error Number : 1146
Date : Saturday, November 17th 2007 @ 03:44:40 AM
Script : http://{forum info deleted}/cron.php?&rand=961734
Referrer :
IP Address : {forum info deleted}
Username : Unregistered
Classname : vb_database
This is the first time I've seen this. Any ideas as to what caused it? I haven't changed anything that I can recall nor even added any new add-ons in at least several days.
Reply With Quote
  #450  
Old 11-17-2007, 02:45 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Looks like something created a temporary table, which had then been deleted by the time it came to be backed up.
Reply With Quote
  #451  
Old 11-18-2007, 06:41 PM
powerful_rogue powerful_rogue is offline
 
Join Date: Jan 2007
Location: Kent
Posts: 603
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is fantastic. Although one problem. It only goes as far as announcementread before stopping. No errors or anything, it just stops. (Been doing it manually to test)

Ive read through the topic and seen people with a simialr problem who said it was to do with their host. As my host is usless as solving problems despite me paying a fortune each month, I decided to back up the normal way using VB's built in system. It came back with this:

Quote:
Database Backup

Processing: access

Processing: adminhelp

Processing: administrator

Processing: adminlog

Processing: adminmessage

Processing: adminutil

Processing: adv_modules

Processing: adv_pages

Processing: adv_setting

Processing: adv_settinggroup

Processing: announcement

Processing: announcementread

Warning: mysql_query() [function.mysql-query]: Unable to save result set in /includes/class_core.php on line 371
Database Error Database error
The Dover Locals database has encountered a problem.
Below is line 371-385

Quote:
if ($queryresult = $this->functions[$buffered ? 'query' : 'query_unbuffered']($this->sql, $link))
{
// unset $sql to lower memory .. this isn't an error, so it's not needed
$this->sql = '';

return $queryresult;
}
else
{
$this->halt();

// unset $sql to lower memory .. error will have already been thrown
$this->sql = '';
}
}
Am I right in thinking this is definatly a problem with the server my site is hosted on? If so, what do I need to ask them?

All the best
Reply With Quote
Reply

Thread Tools

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 05:44 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.14277 seconds
  • Memory Usage 2,313KB
  • Queries Executed 25 (?)
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)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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