Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
vB Database Backup (Lite) Details »
vB Database Backup (Lite)
Mod Version: 3.8.006, 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: 3.8.x Rating: (41 votes - 4.59 average) Installs: 553
Released: 10 Jan 2009 Last Update: 26 Nov 2013 Downloads: 3567
Not Supported Uses Plugins Additional Files Translations  

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.

Download Now

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

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
Administrative and Maintenance Tools vB Database Backup Pro (Lite) for vb 3.6 Paul M Modification Graveyard 630 15 Oct 2009 16:42

  #436  
Old 23 Oct 2011, 22:47
Fynnon Fynnon is offline
 
Join Date: Jul 2008
i get an errorr:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Reply With Quote
  #437  
Old 27 Jul 2012, 20:59
Walter Ronny Walter Ronny is offline
 
Join Date: Apr 2008
there is a version working for 4.2?

Thanks!
Reply With Quote
  #438  
Old 27 Jul 2012, 22:51
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Yes.

Just click on my title (Dr Pepper ..) and it will take you to the modification list in my profile.
__________________
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
  #439  
Old 11 Mar 2013, 10:51
trotskid trotskid is offline
 
Join Date: Feb 2009
Hi. It would be possible rewrite the backup file to avoid having to delete every day the accumulate files in the database?

Thanks
Reply With Quote
  #440  
Old 13 Jan 2015, 10:32
valdet's Avatar
valdet valdet is offline
 
Join Date: Feb 2007
Real name: Valdet
Paul,
Is there an easy way to clone the mod, so besides taking daily SQL backups, we can also set a cron job so it takes a monthly backup?

I currently have the Date Format field as d which makes backups in date based directories.

However I'd like to know if it's possible to have another cronjob set up so it takes the monthly backups (e.g. on day 1 of each month) and the Date Format would be M

M A short textual representation of a month, three letters Jan through Dec
Thanks for excellent mod.
Reply With Quote
  #441  
Old 13 Jan 2015, 13:29
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
If you copied the files and created a new cron task there isnt any reason you could not do that.
__________________
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
  #442  
Old 12 Feb 2015, 16:40
valdet's Avatar
valdet valdet is offline
 
Join Date: Feb 2007
Real name: Valdet
Originally Posted by Paul M View Post
If you copied the files and created a new cron task there isnt any reason you could not do that.
I thought of that, but the problem is the settings on vB Admin Panel. My current setting is

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

How to make them differentiate for two backup options that we need: Daily and Monthly.

How to add another option so besides taking daily backups, it also takes backups on 1-st of every month. Or maybe I'm missing something too obvious.

Please advise.

Thanks
Reply With Quote
  #443  
Old 14 Feb 2015, 22:25
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
You would need to override the options in the copies you make (hard code them).
__________________
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
  #444  
Old 16 Feb 2015, 17:01
valdet's Avatar
valdet valdet is offline
 
Join Date: Feb 2007
Real name: Valdet
Originally Posted by Paul M View Post
You would need to override the options in the copies you make (hard code them).
Ok thanks,

From your mysqlbackup.php file, I see these rows referencing the settings


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Should they be hardcoded on to a new mysqlbackup2.php like


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Please advise what would be the correct hardcoded part

Thanks

Last edited by valdet; 17 Feb 2015 at 18:25.
Reply With Quote
  #445  
Old 18 Feb 2015, 10:46
valdet's Avatar
valdet valdet is offline
 
Join Date: Feb 2007
Real name: Valdet
Ok this is how you do it.

1. Make copies of the two product files: mysqlbackup2.php and cron/cronbackup2.php
2. Add three extra settings to product:
cbu_date2: M
cbu_prefix2: monthly-backup and
cbu_path2: /home/user/my-custom-path/
3. Make this change at mysqlbackup2.php
From

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

4. Make this change inside cronbackup2.php
From

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

to

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

5. Add new Scheduled Task to start at first day of each month and to run it from cronbackup2.php
6. Done

It was too easy once you figure out, but thanks to Paul for giving the hints. Step 2 was key.

I hope someone finds this useful.

Last edited by valdet; 18 Feb 2015 at 13:22.
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 07:02.

Layout Options | Width: Wide Color: