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
  #502  
Old 12-29-2007, 09:37 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check with your host - I would guess they have restrictions in place to stop you writing to folders outside of your web root (assuming that's what you mean).
Reply With Quote
  #503  
Old 12-29-2007, 03:33 PM
chingon chingon is offline
 
Join Date: Dec 2007
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for the reply. I am trying to write it to /admin/backups/ from my root, starting folder. I have been trying to do it by /../../admin/backups but nothing seems to work no matter how many dots or slashes I put.

I'n new at this so sorry If I don't make much sense.
Reply With Quote
  #504  
Old 12-30-2007, 03:31 PM
Sevo Sevo is offline
 
Join Date: Nov 2007
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok sorry for the newb question but I have configured the mysqlbackupconfig.php and uploaded the xml file.. how do I adjust the timing of the back ups. I dont see anywhere this product in my Admin CP. How do I make the program run?

again sorry for the lame question, I am just now starting to figure Vb out.

thank you
Reply With Quote
  #505  
Old 12-30-2007, 07:29 PM
chingon chingon is offline
 
Join Date: Dec 2007
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Look in the admin cp under scheduled tasks and scheduled task manager. It should be called database backup. You can click edit for scheduling or click run now to see if it's working properly.
Reply With Quote
  #506  
Old 12-31-2007, 04:50 PM
KW802's Avatar
KW802 KW802 is offline
 
Join Date: Jul 2003
Location: A galaxy far, far away...
Posts: 1,450
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

After two MySQL crashes in one week I was looking for a good backup solution and this does the job very nicely.

Between this hack and using WS_FTP's Synchronize utility I have a fresh backup on my local PC daily now. Eventually I'll do something to remove the old backups on the server but for now the solution is working nicely.


(And, looking the backup size of each individual table, I spotted a few things that I don't think would've normally caught my attention. Things like a 2gb ModeratorLog table! )
Reply With Quote
  #507  
Old 12-31-2007, 04:53 PM
silvermerc silvermerc is offline
 
Join Date: Apr 2006
Posts: 449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I thought you might want to know that this version doesnt work with vbulletin 3.7.0 BETA 3

This isnt the only hack that doesnt work but i get this error...

A conflict was detected in the bitfields. You cannot continue with the installation of this product until this has been fixed. The conflicts found were:
Bitfield Collision: credits_cantearn = prefixrequired
Reply With Quote
  #508  
Old 12-31-2007, 11:07 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

Sorry but that error has nothing to do with this modification.
Reply With Quote
  #509  
Old 01-01-2008, 03:48 AM
taydu taydu is offline
 
Join Date: Oct 2006
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Paul,

For some reason this mod didn't run properly today. I started run for a while but never finish or end it. I set to close the forum when it back up, but 5 hours after it run the forum still close. So I when to task scheduler and run it manually it run ........ but then it never finish. Usually when it finish i going to say finish, with 0 error now it doesn't say that
Reply With Quote
  #510  
Old 01-06-2008, 11:14 AM
SpArKs85 SpArKs85 is offline
 
Join Date: Dec 2006
Posts: 32
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Everything was working fine since 16th dec. Until I noticed the forums stayed switched off for an unusual amount of time today. So I turned vB off, then on again to enable the forums. Ran the scheduled task manually and I got the following sql error and the forums got switched off and stayed off...


Code:
Database error in vBulletin 3.6.8:

Invalid SQL:

			REPLACE INTO datastore
				(title, data, unserialize)
			VALUES
				('options', 'INSERT LARGE AMOUNT OF DATA', 1);

MySQL Error  : Table 'datastore' was locked with a READ lock and can't be updated
Error Number : 1099
Date         : Sunday, January 6th 2008 @ 05:56:39 AM
Script       : http://www.tricksofthetradeforum.net/admincp/cronadmin.php?do=runcron&cronid=21
Referrer     : http://www.tricksofthetradeforum.net/admincp/cronadmin.php?do=modify
IP Address   : ?????????????
Username     : Tag
Classname    : vb_database
Reply With Quote
  #511  
Old 01-06-2008, 12:00 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

The error is pretty self explanatory - something (else) has locked the datastore table, preventing it being updated.
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 03:42 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.05208 seconds
  • Memory Usage 2,294KB
  • 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
  • (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