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

Reply
 
Thread Tools
vB Database Backup (Lite) Details »»
vB Database Backup (Lite)
Version: 3.8.006, 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.8.x Rating:
Released: 01-09-2009 Last Update: 11-25-2013 Installs: 553
Uses Plugins
Additional Files Translations  
No support by the author.

As of 24 Nov 2017 this modification has been withdrawn.

Note: I did not write the original version, but rather have modified & adapted it.

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, first for vb 3.6, 3.7 and now for vb3.8.

The original version was by Trigunflame and the rights to the code were bought by Zoints (David Chapman) in January 2007. Later in 2007 David gave me permission to release my adaptation.

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.

As of version 3.8.002, most of the options have moved to the ACP in vBulletin Options >> vBulletin Automatic Backup

Notes:
* I will not be adding anything new to this modification.
* This is a Lite version to allow people to use the basic backup functionality on 3.8.


History:

v3.8.001 : First version for vB 3.8.
v3.8.002 : Moved most of options to ACP.
v3.8.003 : Moved more options to ACP.
v3.8.004 : Gzip option backported from vb4 version.
v3.8.005 : Split option backported from vb4 version, close option removed.
v3.8.006 : Fix php 5.3 deprecated warning.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
ITDarasgah, JimxJNM, Lemrith, M Shaker

Comments
  #352  
Old 06-26-2010, 08:34 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 MonkYZ View Post
I don't understand what you mean. If i go in my Scheduled Task Manager and look for Automatic Database Backup for vBulletin i can only set what day of the week, day of the month and hour i want to backup. I don't understand how can i limit the number of files (what lowercase L means ? where do i find that ?)...
vBulletin Options > vBulletin Automatic Backup > Date Format

(Setting for Backup file date format ).

Quote:
Originally Posted by Simon Lloyd View Post
Paul, i'm also interested in doing this, i have my cron job set to every sunday, how do i get it to overwrite the previous weeks entry?
As above - if the generated filename is/are the same, it will simply replace the existing file(s).
Reply With Quote
  #353  
Old 07-25-2010, 02:15 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
vBulletin Options > vBulletin Automatic Backup > Date Format

(Setting for Backup file date format ).


As above - if the generated filename is/are the same, it will simply replace the existing file(s).
Hi paul, i currently use this mod and it's already saved me a nightmare!, however i wanted the back-up performed every Sunday, you kindly gave the solution of using a lowercase L, i do now get a backup every sunday but it's a single file where the ones before gave me a dated folder with each component backed up separately, how do i get back to having each element backed up as before but just on a sunday?
Reply With Quote
  #354  
Old 07-25-2010, 04:23 PM
Zylantex Zylantex is offline
 
Join Date: Sep 2009
Location: France
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great add-on. Thanks OP.
Reply With Quote
  #355  
Old 07-25-2010, 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

Quote:
Originally Posted by Simon Lloyd View Post
Hi paul, i currently use this mod and it's already saved me a nightmare!, however i wanted the back-up performed every Sunday, you kindly gave the solution of using a lowercase L, i do now get a backup every sunday but it's a single file where the ones before gave me a dated folder with each component backed up separately, how do i get back to having each element backed up as before but just on a sunday?
Just set the vb cron job to run once a week (on Sunday) using the standard date format.
Reply With Quote
  #356  
Old 08-23-2010, 04:46 AM
GoTTi GoTTi is offline
 
Join Date: Jun 2002
Posts: 1,346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

getting this error:

Automatic Database Backup for vBulletin
An error occured during the MySQL backup. Details (Could not open Destination SQL file for writing.)
Reply With Quote
  #357  
Old 08-23-2010, 09:51 AM
Zylantex Zylantex is offline
 
Join Date: Sep 2009
Location: France
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Suggestion:

Daily backups are great but unless I download the backups and delete them promptly they eat up my disk space allowance on my host. The ability to do a backup on multiple selected days of the week would be really useful. It would let users back up weekly or twice a week, say Monday and Thursday, or any other combination of days that suits.

At the moment the only alternative to daily seems to be monthly and thats a bit risky imho.
Reply With Quote
  #358  
Old 09-20-2010, 06:23 PM
melbo melbo is offline
 
Join Date: Jun 2006
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the update with gzip. I also just set my date code to 'l'. I used to go in weekly and delete all but 2 backups and now I don't have to anymore. Truly automatic! It does take up ~ 2.5 GB buts that's a small price to pay
Reply With Quote
  #359  
Old 09-20-2010, 11:18 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Paul, i love this mod and couldn't live without it now but i do experience a small problem more often than not, when using the option to close forum during back up i'll find that i sign on the next day and find that the forums are still closed, i then have to turn off your mod, CLOSE the forums in vboptions (yes i know its already closed) then open the forum again and reinstate your mod, any idea what could be causing the lock up, is there some way of adding an extra check to see if the back up activity has stopped then make the forum closed status time out?

Right now i leave the option off but it could spell disaster eventually as my database is over 2gb.
Reply With Quote
  #360  
Old 09-21-2010, 07:41 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

That option has always had issues, and as I didnt write it, ive never had the time to look into why.

I suggest you simply dont use it (I dont). It was removed from the 4.0 version.

You can always use the lock tables option, but only do it at a very quiet period as visitors will experince the forum hanging while you do, and eventually you will start to get "too many connections" errors as the mysql process queue backs up waiting for write access.
Reply With Quote
  #361  
Old 09-22-2010, 05:29 AM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for coming back to me, i've also turned off the lock tables too now as i don't want to get a barrage of database error emails
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 06:11 AM.


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.05225 seconds
  • Memory Usage 2,316KB
  • 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
  • (4)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
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (4)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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