Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vBulletin Cron Based Database Backup Details »
vBulletin Cron Based Database Backup
Mod Version: 4.2.0.2, by Paul M (Member) Paul M is offline
Developer Last Online: Jan 2018 I like it Show Printable Version Email this Page

This thread is in the Modification Graveyard.
vB Version: 4.2.x Rating: (160 votes - 4.89 average) Installs: 1436
Released: 28 Dec 2009 Last Update: 26 Nov 2013 Downloads: 7175
Not Supported Uses Plugins Additional Files Translations  

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.

Download Now

Only licensed members can download files, Click Here for more information.

Addons

Show Your Support

  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Vbulletin Database Backup Pro (Cron Support) Trigunflame vBulletin 3.0 Full Releases 443 05 Sep 2008 16:12

  #361  
Old 04 Feb 2011, 17:48
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
This mod has no reliance on that file.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #362  
Old 15 Feb 2011, 00:06
washingtonboise washingtonboise is offline
 
Join Date: Mar 2009
After reading a few pages of posts, I recommend setting the default installation path to ././backups and adding instructions to create that directory and CHMOD it 777.

That will ease things up a bit for those who are less technically inclined.

Excellent mod. One suggestion: Allow a config option for deleting old files that are 'X backups old'. This would allow for limitation of disk space usage.
Reply With Quote
  #363  
Old 16 Feb 2011, 17:01
upperme upperme is offline
 
Join Date: Feb 2011
I am new to vBulletin, so please forgive my ignorance, but I am learning. Are you saying we should not ADD a Scheduled Task? If that is the case, then where should I adjust the cron timing to initiate the backups?
Originally Posted by Paul M View Post
You dont change anything in the Scheduled Task settings, otherwise you will break it.
Reply With Quote
  #364  
Old 16 Feb 2011, 19:21
strudinox's Avatar
strudinox strudinox is offline
 
Join Date: Mar 2010
Just FYI, make sure that open_basedir is disabled or it will not work.
__________________
GND-Tech - Technology - Gaming - Community
Reply With Quote
  #365  
Old 20 Feb 2011, 11:26
3loomShia 3loomShia is offline
 
Join Date: Apr 2010
I already have the old version of this installed. Now, I just had to overwrite the old ones.
Worked fine for me. Thanks heaps, Paul. This mod is a savior.
Reply With Quote
  #366  
Old 20 Feb 2011, 18:35
Arkham's Avatar
Arkham Arkham is offline
 
Join Date: Nov 2001
Thanks, Paul!! I couldn't SSH into the server today (my dev install which I haven't used for ages), so this mod came in handy! After I figured out where to run it manually, worked like a charm.

One thing though... The first time I ran it I had it set to backup individual tables, but I then set it to single-file backup. I'm looking in the directory and don't see a single-file that I can identify as the complete backup.

Am I missing something? (I re-ran it manually, so is there a chance that since nothing was really changed since the piece-meal backup, it didn't bother running again?)

Thx.
Reply With Quote
  #367  
Old 20 Feb 2011, 21:57
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
It will always do a backup if you run it.

Not sure I understand the rest of the question, are you saying you couldnt see the created file ?

Where were you looking ?
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #368  
Old 20 Feb 2011, 22:50
Arkham's Avatar
Arkham Arkham is offline
 
Join Date: Nov 2001
Originally Posted by Paul M View Post
It will always do a backup if you run it.

Not sure I understand the rest of the question, are you saying you couldnt see the created file ?

Where were you looking ?
I was looking in the same backup folder that I found the individual backup files (before I configured it to backup to a single file). I don't see the new single-file backup, only the multiple smaller files from my first backup job.

Apart from the configurable prefix, what should the single-file backup be named? <prefix>-date.sql?
Reply With Quote
  #369  
Old 22 Feb 2011, 01:57
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Im not sure you are looking in the correct place - single files will go in the root of the configured backup folder - multiple file backups create an extra folder that single file backups dont.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #370  
Old 22 Feb 2011, 14:48
Arkham's Avatar
Arkham Arkham is offline
 
Join Date: Nov 2001
Originally Posted by Paul M View Post
Im not sure you are looking in the correct place - single files will go in the root of the configured backup folder - multiple file backups create an extra folder that single file backups dont.
Ah, maybe I configured it incorrectly. All the single files went into the /backups directory specified in on the admincp config page. I'll double check when I get back in there.

Thx!
Reply With Quote
  #371  
Old 09 Mar 2011, 17:29
solohdes solohdes is offline
 
Join Date: Feb 2011
I installed the hack but I don't have write permissions. I know that I have to give write permissions with apache but I'm newbie in this, can you say me how to do step by setp? Thanks. I have Centos 5 (OS) with kloxo (CP).
Reply With Quote
  #372  
Old 09 Mar 2011, 22:18
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
You change the permissions on your chosen backup folder to 777.
__________________
Former vBulletin.org Staff Member


Cable Forum
Please do not PM me about custom work - I no longer undertake any.
Note: I will not answer support questions via e-mail or PM - please use the relevant thread or forum.
Reply With Quote
  #373  
Old 10 Mar 2011, 11:01
prandah's Avatar
prandah prandah is offline
 
Join Date: Jun 2010
thanks paul this mod very help me

Last edited by prandah; 10 Mar 2011 at 12:00.
Reply With Quote
  #374  
Old 20 Mar 2011, 23:59
F1-Gears F1-Gears is offline
 
Join Date: Mar 2010
I receive this error mensaje in vB4.1.2

Backup Error : Could not write to destination file ( ../../backups/Forum-2011-03-20-Full-Backup.sql )
Backups directory is full writeable (777)

Does someone knows how can I repair it?

Thanks
Reply With Quote
  #375  
Old 21 Mar 2011, 02:36
mmacrypt's Avatar
mmacrypt mmacrypt is offline
 
Join Date: Feb 2010
Updated and I'll know if it's working in the morning. Thank you Paul, you do great stuff.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 05:00.

Layout Options | Width: Wide Color: