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 15:42

  #241  
Old 11 Sep 2009, 16:03
Kamern Kamern is offline
 
Join Date: Jul 2009
I'm getting the same error as a previous poster, it isn't giving me a reason for an error, but it isn't backing up. Fresh install, by the way.


I fixed the problem by using "././backups/" instead of "../../backups/"

Last edited by Kamern; 11 Sep 2009 at 16:40.
Reply With Quote
  #242  
Old 12 Sep 2009, 05:14
MrDeath MrDeath is offline
 
Join Date: Aug 2009
modification in the mod

Originally Posted by VedicJunction View Post
that i already did... let me explain it more clearly...

my backup folder is /home/xxxx/forum_backup/

now inside that forum_backup folder i have several folders
forum_backup/2009-08-31/Form-2009-08-31-full-backup.sql
forum_backup/2009-09-01/Form-2009-09-01-full-backup.sql
forum_backup/2009-09-02/Form-2009-09-02-full-backup.sql

so you can see that every day a new folder is created of that particular date... Creating new folder for each backup make sense when you are NOT using combined files...

so what i want is the all the backup files should go into the forum_backup folder and do not create separate folder for each date..

thanks!!
Hi Paul!,, since i cannot wait for the next version of the mod, i tried to patch the mod with this option... .... i thought of uploading my modifications so that other ppl can benefit.. hope you dont mind...

i have added two options :

IF you choose to "COMBINE FILES" Then:-

1. All the backups now goes into a single backup dir.
2. If on Linux... then you also have a option to produce a compressed .gz file.

Installation :

1. install the original mod.
2. replace mysqlbackup.php with the attached one.
3. Uninstall the product.
4. Re-import the product with the attached xml file.

Important info..
1. the relative path do not work for me... i used full path (/home/sdadsf/backup/)
2. Do not use this if you do not want to combine your files..
3. I am not a php programmer .. so use it at your own risk.!!
Attached Files
File Type: xml Auto-backup.xml (9.5 KB, 18 views)
File Type: php mysqlbackup.php (15.1 KB, 22 views)
__________________
http://www.sparkguru.com
Reply With Quote
  #243  
Old 12 Sep 2009, 10:06
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Actually, Ive already fixed it locally to put combined files in the root folder, just not released it atm. I might look at the compress feature as well, since a number of requests have been made for it.
__________________
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
  #244  
Old 14 Sep 2009, 20:04
creative-friend creative-friend is offline
 
Join Date: Feb 2009
So This will defo do my mysql backup??
Reply With Quote
  #245  
Old 14 Sep 2009, 21:09
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Thats a somewhat vague question, can you be more specific please.
__________________
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
  #246  
Old 15 Sep 2009, 22:17
creative-friend creative-friend is offline
 
Join Date: Feb 2009
can you please tell me....how am i gonna find out that my data base has been backuped??

i dont have idea how to use this Mod...please help me...
Reply With Quote
  #247  
Old 16 Sep 2009, 12:51
EidolonAH EidolonAH is offline
 
Join Date: May 2009
Real name: Eidolon
I so often forget to back-up each day, this is a fantastic mod, thank you very much for this.
Reply With Quote
  #248  
Old 16 Sep 2009, 19:19
mcyates mcyates is offline
 
Join Date: Jan 2003
Real name: Michael C Yates
How long does this take, i clicked run now from the shedule menu and its been running for 10 min, can't access the forum either because of a database error which I don't know what it is. My database is only 330meg in size.

I put it to lock the forum, repair and close the forum. Surely I shouldn't be getting a database error?
__________________
MY FOOTBALL FORUM
World Wide Football Discussion Forum
Reply With Quote
  #249  
Old 16 Sep 2009, 19:39
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
To backup 330M shouldnt take more than a minute or two.

I cant comment on any database error unless you post the actual error.
__________________
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
  #250  
Old 16 Sep 2009, 20:18
mcyates mcyates is offline
 
Join Date: Jan 2003
Real name: Michael C Yates
the server was playing up, but i can't seem to get the file location correct. Think i'm being stupid.
__________________
MY FOOTBALL FORUM
World Wide Football Discussion Forum
Reply With Quote
  #251  
Old 16 Sep 2009, 23:27
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
Not much a can say to 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
  #252  
Old 17 Sep 2009, 17:40
Joe2288 Joe2288 is offline
 
Join Date: Jun 2007
I'm also getting the error

An error occured during the Backup :

My backup path is ././backups/ and it does create folders with the current date when I manually start the process but nothing else.

Any ideas?
Reply With Quote
  #253  
Old 17 Sep 2009, 17:56
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Real name: Paul M
././backups/ should really be ./backups/

You need to check folder permissions.
__________________
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
  #254  
Old 17 Sep 2009, 18:07
Joe2288 Joe2288 is offline
 
Join Date: Jun 2007
I have folder permission set at 777 and as I mentioned it does create subfolders with the current date so I think the permission is set correctly.

I changed the path to ./backups/ still the same error.
Reply With Quote
  #255  
Old 17 Sep 2009, 18:47
Joe2288 Joe2288 is offline
 
Join Date: Jun 2007
Ok, I checked a little further into this problem. It does have something to do with permissions.
Folder /backups/ permission is 0777 owner me
Folder /backups/2009-09-17 permission 0777 owner www-data ... does this matter?

So I went on and edited mysqlbackup.php in order to remove the creation of folder as this is somehow creating the problem for me ....

// Cron Based Automated Backup
function cronBackup()
{
/*
Set Full Dump Path.
*/
//$this->FULL_PATH = $this->DUMP_PATH.$this->DATE.'/'.$this->PREFIX.$this->DATE;
$this->FULL_PATH = $this->DUMP_PATH.'/'.$this->PREFIX.$this->DATE;

/* Short Path */

//$this->SHORT_PATH = $this->DUMP_PATH.$this->DATE;
$this->SHORT_PATH = $this->DUMP_PATH;

/*
Close Forum.
*/
if ($this->SHUTDOWN) { $this->forumStatus(0); }

/*
Remove previous SQL Files.
*/
//$this->removeDir($this->SHORT_PATH);
//$this->createDir($this->SHORT_PATH);

/* Clear Cache */
clearstatcache();
..............
............

I no longer have dated folders, but it is working now.

Last edited by Joe2288; 17 Sep 2009 at 18:57.
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 11:03.

Layout Options | Width: Wide Color: