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

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
  #982  
Old 08-20-2014, 07:45 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 doctorsexy View Post
BigDump: Staggered MySQL Dump Importer

http://www.ozerov.de/bigdump/
Bigdump is for databases.. He wants something that will back up his entire server on its own, files and database..Bigdump does not do that.
Reply With Quote
  #983  
Old 08-20-2014, 08:25 PM
Powerlynx Powerlynx is offline
 
Join Date: Oct 2013
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I need something that will mirror my site "completely" everything in it's place, like literally a sister site being an exact duplicate running in parallel to the original site where I can have the sister site doing daily backups on a server and right to my own computer.
Reply With Quote
  #984  
Old 08-20-2014, 08:35 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 believe their managed back up will do that..
Reply With Quote
  #985  
Old 08-21-2014, 06:42 AM
charlesr charlesr is offline
 
Join Date: Aug 2009
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Use this mod to create the database dump during the quiet hours and then use something else to backup the files and dump. GoDaddy might do server snapshotting for you if you throw money at them.
Reply With Quote
  #986  
Old 08-21-2014, 07:06 AM
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 charlesr View Post
Use this mod to create the database dump during the quiet hours and then use something else to backup the files and dump. GoDaddy might do server snapshotting for you if you throw money at them.
Well yeah.. What would the something else be?
I think he wants something he doesn't have to worry about. I would look into the godaddy managed back up option myself even if it costs a few bucks.
Reply With Quote
  #987  
Old 08-21-2014, 08:27 AM
charlesr charlesr is offline
 
Join Date: Aug 2009
Posts: 177
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I use WinSCP but it's manual so I only bother once a week. There must be an automated solution for rsync in windows though (assuming you leave your machine on). The cheapest offsite solution would be amazon's cloud service, but learning to use it is a pain.
Reply With Quote
  #988  
Old 08-22-2014, 05:49 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 love this mod but would love to see a feature for limiting the amount of back ups made. I use this on many client sites in addition to my own and sometimes I forget about it and a couple months later their entire server is filled. lol

I would like to limit it to 2 or 3 back ups stored if possible.
Reply With Quote
  #989  
Old 08-22-2014, 05:52 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 charlesr View Post
I use WinSCP but it's manual so I only bother once a week. There must be an automated solution for rsync in windows though (assuming you leave your machine on). The cheapest offsite solution would be amazon's cloud service, but learning to use it is a pain.
In addition to using this mod for databases on certain back ups I also have my Plesk dedicated server run nightly back ups directly to ftp storage my host offers that is on another drive location. I do not have to touch this at all ever and I think this is what the op wants.

I do try to download a back up to my pc as well every couple weeks but my internet service provider(Cox) starts sending out threat letters when I use to much bandwith.
Reply With Quote
  #990  
Old 08-22-2014, 07:47 PM
bzcomputers's Avatar
bzcomputers bzcomputers is offline
 
Join Date: Apr 2012
Location: TX
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RichieBoy67 View Post
I love this mod but would love to see a feature for limiting the amount of back ups made. I use this on many client sites in addition to my own and sometimes I forget about it and a couple months later their entire server is filled. lol

I would like to limit it to 2 or 3 back ups stored if possible.
I limit it to just 7 backups by changing the "Date Format" in the settings. If you just use "D" (which stands for day of the week) as the date format then you will only get 7 backups before they start to overwrite themselves.

yourprefixMon-Full-Backup.sql.gz
yourprefixTue-Full-Backup.sql.gz
yourprefixWed-Full-Backup.sql.gz
yourprefixThu-Full-Backup.sql.gz
yourprefixFri-Full-Backup.sql.gz
yourprefixSat-Full-Backup.sql.gz
yourprefixSun-Full-Backup.sql.gz

Then after 7 days they will just overwrite each other. You no longer need to delete old backups which as you mentioned, everyone forgets to before they get an alert about disk space. Extremely useful if you're running multiple sites too!

I figure if I don't know within a week that I need a backup for a site then I really don't need the backup.

...My server runs nightly backups too, but you can never be too safe.
Reply With Quote
Благодарность от:
RichieBoy67
  #991  
Old 08-22-2014, 07:55 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 bzcomputers View Post
I limit it to just 7 backups by changing the "Date Format" in the settings. If you just use "D" (which stands for day of the week) as the date format then you will only get 7 backups before they start to overwrite themselves.

yourprefixMon-Full-Backup.sql.gz
yourprefixTue-Full-Backup.sql.gz
yourprefixWed-Full-Backup.sql.gz
yourprefixThu-Full-Backup.sql.gz
yourprefixFri-Full-Backup.sql.gz
yourprefixSat-Full-Backup.sql.gz
yourprefixSun-Full-Backup.sql.gz

Then after 7 days they will just overwrite each other. You no longer need to delete old backups which as you mentioned, everyone forgets to before they get an alert about disk space. Extremely useful if you're running multiple sites too!

I figure if I don't know within a week that I need a backup for a site then I really don't need the backup.

...My server runs nightly backups too, but you can never be too safe.
I never thought of that! Great idea!
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 11:55 AM.


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.08474 seconds
  • Memory Usage 2,330KB
  • 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
  • (5)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
  • (15)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)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