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
  #122  
Old 05-23-2009, 04:16 PM
slowphantom's Avatar
slowphantom slowphantom is offline
 
Join Date: Jun 2006
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx for the mod
and
i got some problem after i installed the 3.8 and use this

it give database error

Code:
Database error in vBulletin 3.8.2:

Invalid SQL:
SHOW CREATE TABLE `template`;

MySQL Error   : MySQL server has gone away
Error Number  : 2006
it happen so much
befor i was useing the 3.7 on 3.7 forum
but i upgread to 3.8.2 and install that mod and i cant take any back up any more
any idea ?
thx
Reply With Quote
  #123  
Old 05-24-2009, 06:25 AM
sargatanas sargatanas is offline
 
Join Date: Mar 2009
Location: Land of the Dead
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how this thing work?, i just installed it but i cant see any menu in my vb admincp [sorry for noob question]
Reply With Quote
  #124  
Old 05-24-2009, 09:04 AM
doctorsyrup doctorsyrup is offline
 
Join Date: Mar 2006
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sargatanas View Post
how this thing work?, i just installed it but i cant see any menu in my vb admincp [sorry for noob question]
There is no menu for it. Go to the Scheduled Task Manager > Automatic Database Backup and you can run it manually. It is also set to run once daily by default.
Reply With Quote
  #125  
Old 05-25-2009, 06:50 PM
Jheyman Jheyman is offline
 
Join Date: Aug 2008
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quick question I am getting this error when I hit run now on the backup job, I am sure I missed somehting but I cant seem to figure it out any help is appericated

An error occured during the Backup : Could not open Destination SQL file for writing.
Reply With Quote
  #126  
Old 05-26-2009, 02:05 AM
Outbackmark's Avatar
Outbackmark Outbackmark is offline
 
Join Date: Jun 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and working fine, I created a folder called backup in the same folder as my forum, this differs from one site to the next, it needs to be in the same place as you see the folders for admincp, archive, attachements and so on (The place where you upload all your VB files).

The permissions are set to 755.

Make sure the folder is named the same in the mysqlconfig.php file so mine was called backup and my config looked like this
Quote:
// File Saving Information
$backup['DATE'] = 'Y-M-d'; // Backup file date format (See http://uk.php.net/date)
$backup['PREFIX'] = 'Forum-'; // Backup file prefix, applied to all files
$backup['DUMP_PATH'] = './backup/'; // Path to backups folder, must have a trailing slash, folder must be writable.
Once set up, upload the config file into the includes folder and it will work, remember the ./ before the file name and the / after, that should be all you need on a linux server, so long as the folder is in the same place as your VB forum files.

All the above error means is the mod can not find or write into the folder because is is not named or placed correctly.
Reply With Quote
  #127  
Old 05-26-2009, 04:37 AM
PayJ PayJ is offline
 
Join Date: Feb 2009
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is the advantage of using this? Isn't this already in 3.8?
Reply With Quote
  #128  
Old 05-26-2009, 04:56 AM
Yonatan Yonatan is offline
 
Join Date: Jun 2008
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Jheyman View Post
Quick question I am getting this error when I hit run now on the backup job, I am sure I missed somehting but I cant seem to figure it out any help is appericated

An error occured during the Backup : Could not open Destination SQL file for writing.
Safe Mode is turn on in your server and block this function, so you you need to turn off the Safe Mode if it's your own server, or contact to your hosting support.

Quote:
Originally Posted by PayJ View Post
What is the advantage of using this? Isn't this already in 3.8?
It's is a automatically backup based on Cron Jobs.
It's NOT a manual backup.
Reply With Quote
  #129  
Old 05-26-2009, 09:52 AM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PayJ View Post
What is the advantage of using this? Isn't this already in 3.8?
No, there is no automatic backup facility in vbulletin.
Reply With Quote
  #130  
Old 05-29-2009, 05:08 PM
Tboy_forum Tboy_forum is offline
 
Join Date: May 2008
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Guys, I also battled my arse off trying to get this thing to work!

It does - and eventually found it was my folder path for the backup - IT MUST BE CORRECT or it aint gonna work

Thanks
Reply With Quote
  #131  
Old 06-06-2009, 11:01 AM
bleros's Avatar
bleros bleros is offline
 
Join Date: Oct 2008
Location: Macedonia
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

$backup['DUMP_PATH'] = './backups/'; // Path to backups folder, must have a trailing slash, folder must be writable.

Automatic Database Backup for vBulletin 3.8
An error occured during the Backup : Could not open Destination SQL file for writing.


so must create folder in ftp with name backups or its established realy i need help i must have this becouse i dont have time to backup everyday with maus
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 04:56 PM.


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.09224 seconds
  • Memory Usage 2,316KB
  • 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
  • (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
  • (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