Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
vBulletin Cron Based Database Backup Details »»
vBulletin Cron Based Database Backup
Version: 4.2.0.2, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 4.2.x Rating:
Released: 12-27-2009 Last Update: 11-25-2013 Installs: 1434
Uses Plugins
Additional Files Translations  
No support by the author.

As of 23 Nov 2017 this modification has been withdrawn.

This is a cut down version based on a backup system written by Trigunflame for vb 3.0. It is a simple vBulletin cron trigged php system that does a dump of your database - either as one complete file, or as one file per table. Especially useful now that IB removed the old ACP backup option in vBulletin 4. Files can be (G)Zipped to save space.

All the options are located in the ACP in vBulletin Options >> vBulletin Automatic Backup

To install, download and unzip the files, and follow the instructions in the text file.


History:

v4.0.1 : 28-Dec-2009 : Initial release for vb 4.0.0 Gold.
v4.0.2 : 29-Dec-2009 : Added ability to block process larger tables.
v4.0.3 : 27-Jun-2010 : Added Gzip option.

v4.1.0 : 04-Dec-2010 : Updated for vBulletin 4.1.0.

v4.1.7.0 : 16-Oct-2011 : Updated for vBulletin 4.1.7.

v4.2.0.0 : 24-May-2012 : Updated for vBulletin 4.2.0.
v4.2.0.1 : 17-Mar-2013 : Removed vboptions from backup call..
v4.2.0.2 : 25-Nov-2013 : Fix php 5.3 deprecated warnings, added mysqldump backup.

Show Your Support

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

Comments
  #972  
Old 06-13-2014, 06:19 PM
Hawkgirl's Avatar
Hawkgirl Hawkgirl is offline
 
Join Date: Aug 2009
Posts: 16
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey there! I've been using this forever - thank you so much for this mod.

A few weeks back I upgraded site to 4.2.2 (from 4.1.6). I just realized that I forgot to update this mod (no site backup for two weeks - ACK). I did so today and I'm getting the following error message(s). Can you help? Many thanks!

Quote:
Automatic Database Backup for vBulletin

Warning: Missing argument 2 for mysqlBackup::mysqlBackup(), called in ..../includes/cron/cronbackup.php on line 22 and defined in ..../includes/mysqlbackup.php on line 574

Warning: Missing argument 3 for mysqlBackup::mysqlBackup(), called in ..../includes/cron/cronbackup.php on line 22 and defined in ..../includes/mysqlbackup.php on line 574
Backup Aborted : vBulletin Options Error
Reply With Quote
  #973  
Old 08-17-2014, 07:20 PM
EpicArchibald EpicArchibald is offline
 
Join Date: Dec 2013
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am also receiving the same output as Hawkgirl.

I typically just ssh in from phone or computer and run a mysql dump to my web server. An auto option would be nice if the errors can be sorted.

Version 4.2.2 here.
Reply With Quote
  #974  
Old 08-17-2014, 10:39 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'm afaid I didnt see the question from Hawkgirl at the time.
Those errors mean you/they have a mismatch in the modification files.

The mod comes with two files, and the product XML, you need to make sure you update all of these to the latest version.
Reply With Quote
  #975  
Old 08-20-2014, 04:04 PM
Powerlynx Powerlynx is offline
 
Join Date: Oct 2013
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

but does this backup everything, including images, videos, thread content, absolutely everything? ...not just the database which doesn't have images and videos in them?

I need something to run daily backups to an external hard drive so I can keep a physical copy of each daily backup into separate folders. So then if the site goes down, I can just reload a whole backup file and the site will be exactly how it was originally with everything.
Reply With Quote
  #976  
Old 08-20-2014, 04:12 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Powerlynx View Post
but does this backup everything, including images, videos, thread content, absolutely everything? ...not just the database which doesn't have images and videos in them?

I need something to run daily backups to an external hard drive so I can keep a physical copy of each daily backup into separate folders. So then if the site goes down, I can just reload a whole backup file and the site will be exactly how it was originally with everything.
This is just for database.

You need something on your server to do as you want.
Reply With Quote
  #977  
Old 08-20-2014, 06:09 PM
Powerlynx Powerlynx is offline
 
Join Date: Oct 2013
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok...how much time would be involved to do something like that you think? and I would like to be able to link my computer up with the server so it automatically backs up to an external hard drive which I physically have.
Reply With Quote
  #978  
Old 08-20-2014, 06:16 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think you can do this yourself through your host/server cpanel. They must have a back up option with a scheduled task

who is your host and what kind of server do you have?
Reply With Quote
  #979  
Old 08-20-2014, 07:06 PM
Powerlynx Powerlynx is offline
 
Join Date: Oct 2013
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its GoDaddy...(don't laugh :/ lol) not sure which server, but the last one that will work with the vB Pro Garage mod as that has a server upgrade limit.

I'm looking for a "set it and forget it" backup program, something always taking care of itself...all on it's own with no multiple steps for me to do.

I have seen other backups but I can't find anything out there fully automated, they are all like piece-by-piece backups with steps inbetween that have to be performed manually by the admin and I don't want to have to do any interaction with it.
Reply With Quote
  #980  
Old 08-20-2014, 07:17 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No laughing here, lots of people use Godaddy. I do not particularly like them for hosting but I have about most of my domains registered with them.

At any rate I believe you can set up a cron task()scheduled task) using their back up system and set it to keep only 1 or 2 back ups. I cannot recall though if this is built in or part of the managed back up service they offer. You could always opt for that. http://support.godaddy.com/help/arti...anaged-backups

I do not even know though if you have a VPS, shared or dedicated plan.
Reply With Quote
  #981  
Old 08-20-2014, 07:36 PM
doctorsexy's Avatar
doctorsexy doctorsexy is offline
 
Join Date: Mar 2011
Location: earth
Posts: 383
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RichieBoy67 View Post
This is just for database.

You need something on your server to do as you want.



BigDump: Staggered MySQL Dump Importer

http://www.ozerov.de/bigdump/
Reply With Quote
Reply


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 02: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.06378 seconds
  • Memory Usage 2,324KB
  • 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
  • (3)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
  • (14)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