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

Reply
 
Thread Tools
vB Database Backup (Lite) Details »»
vB Database Backup (Lite)
Version: 3.8.006, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.8.x Rating:
Released: 01-09-2009 Last Update: 11-25-2013 Installs: 553
Uses Plugins
Additional Files Translations  
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
ITDarasgah, JimxJNM, Lemrith, M Shaker

Comments
  #432  
Old 08-08-2011, 03:53 PM
crouzmind's Avatar
crouzmind crouzmind is offline
 
Join Date: Feb 2009
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sir can you assist me about this error .

An error occured during the Backup :

i have vbulletin 3.8 and i did not know how can i edit my config file please tell me where i need to put the full path of the folder where i want to put the backup dump .

thanks in advanced .
Reply With Quote
  #433  
Old 08-08-2011, 04:54 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by crouzmind View Post
sir can you assist me about this error .

An error occured during the Backup :

i have vbulletin 3.8 and i did not know how can i edit my config file please tell me where i need to put the full path of the folder where i want to put the backup dump .

thanks in advanced .
If you read the text that came with the mod and look at the mod settings you will see where Paul M has already set the folder path you simply need to use this (make sure a folder of that name appears in that location as the mod doesn't create one) or change the folder name and location to yours.
Reply With Quote
  #434  
Old 08-08-2011, 06:02 PM
Vcize Vcize is offline
 
Join Date: Dec 2010
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Simon Lloyd View Post
Having your folder at public level is not a good idea as explained by PaulM in his mod, your folder should be at least one level up, that way there is no need to password protect it or worry about folk accessing your entire database details. PaulM has already provided a path, simply put your backup folder there.
Perhaps that is my problem. I use dreamhost, so there is no public_html folder or anything like that.

When I log into the root of my server, I just see a folder for each of my sites. Inside each of those folders are the sites files.

So, I created my backup folder in the root, so now the root of my server looks like.

site1.com
site2.com
site3.com
site4.com
backups

Is that right?
Reply With Quote
  #435  
Old 08-08-2011, 06:05 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It should be, if you use a file manager, when you click on the folder or check it's properties what does it show?
Reply With Quote
  #436  
Old 08-08-2011, 07:28 PM
Vcize Vcize is offline
 
Join Date: Dec 2010
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Simon Lloyd View Post
It should be, if you use a file manager, when you click on the folder or check it's properties what does it show?
I'm using filezilla.

Don't see an option for properties. That permissions are 777.
Reply With Quote
  #437  
Old 10-23-2011, 08:47 PM
Fynnon Fynnon is offline
 
Join Date: Jul 2008
Posts: 120
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i get an errorr:

Code:
Database error in vBulletin 3.8.6:

Invalid SQL:

			INSERT INTO cronlog
				(varname, dateline, description, type)
			VALUES
				('cbu_crontask',
				1319406226,
				'An error occured during the Backup : ',
				0);

MySQL Error   : Table 'cronlog' was locked with a READ lock and can't be updated
Error Number  : 1099
Request Date  : Sunday, October 23rd 2011 @ 11:43:46 PM
Error Date    : Sunday, October 23rd 2011 @ 11:43:46 PM
Script        : http://www.xxx.com/admincp/cronadmin.php?do=runcron&cronid=45
Referrer      : http://www.xxx.com/admincp/cronadmin.php?do=modify
IP Address    : xx.xx.xx.xxx
Username      : xxx
Classname     : vB_Database
MySQL Version : 5.0.77
Reply With Quote
  #438  
Old 07-27-2012, 06:59 PM
Walter Ronny Walter Ronny is offline
 
Join Date: Apr 2008
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

there is a version working for 4.2?

Thanks!
Reply With Quote
  #439  
Old 07-27-2012, 08:51 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

Yes.

Just click on my title (Dr Pepper ..) and it will take you to the modification list in my profile.
Reply With Quote
  #440  
Old 03-11-2013, 09:51 AM
trotskid trotskid is offline
 
Join Date: Feb 2009
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
  #441  
Old 01-13-2015, 08:32 AM
valdet's Avatar
valdet valdet is offline
 
Join Date: Feb 2007
Posts: 505
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Quote:
M A short textual representation of a month, three letters Jan through Dec
Thanks for excellent mod.
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 12:11 AM.


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.05731 seconds
  • Memory Usage 2,311KB
  • 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
  • (1)bbcode_code
  • (4)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
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (4)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