Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

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
  #132  
Old 06-06-2009, 02:57 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, you must create the folder.
Reply With Quote
  #133  
Old 06-07-2009, 12:32 AM
bleros's Avatar
bleros bleros is offline
 
Join Date: Oct 2008
Location: Macedonia
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
Yes, you must create the folder.

im get this error

Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(../backups/2009-Jun-07) is not within the allowed path(s): ([path]/:/home/www/web1/phptmp/:/home/www/web1/files/:/home/www/web1/atd/) in [path]/includes/mysqlbackup.php on line 211

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(../backups/2009-Jun-07) is not within the allowed path(s): ([path]/:/home/www/web1/phptmp/:/home/www/web1/files/:/home/www/web1/atd/) in [path]/includes/mysqlbackup.php on line 246

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(../backups/2009-Jun-07) is not within the allowed path(s): ([path]/:/home/www/web1/phptmp/:/home/www/web1/files/:/home/www/web1/atd/) in [path]/includes/mysqlbackup.php on line 257

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(../backups/2009-Jun-07/Forum-2009-Jun-07-aaggregate_temp_1227319800.sql) is not within the allowed path(s): ([path]/:/home/www/web1/phptmp/:/home/www/web1/files/:/home/www/web1/atd/) in [path]/includes/mysqlbackup.php on line 153

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(../backups/2009-Jun-07/Forum-2009-Jun-07-aaggregate_temp_1227319800.sql) is not within the allowed path(s): ([path]/:/home/www/web1/phptmp/:/home/www/web1/files/:/home/www/web1/atd/) in [path]/includes/mysqlbackup.php on line 163

or this

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

are sometimes created a folder with the date. has nothing but the error
Reply With Quote
  #134  
Old 06-07-2009, 11:01 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

open_basedir is a php security feature on your server, you need to talk to your host.
Reply With Quote
  #135  
Old 06-08-2009, 10:46 AM
bleros's Avatar
bleros bleros is offline
 
Join Date: Oct 2008
Location: Macedonia
Posts: 200
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M View Post
open_basedir is a php security feature on your server, you need to talk to your host.
ah yes SAFE MOD in server is ON .. i.e not work with SAFE MODE ON
Reply With Quote
  #136  
Old 06-09-2009, 06:02 PM
centurius centurius is offline
 
Join Date: Jul 2007
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and works 90% perfectly. Only issue I have is that it does not re-enable my forum once it's done- and that was easily worked around using the config file.
Reply With Quote
  #137  
Old 06-25-2009, 03:10 AM
smartkidbk5 smartkidbk5 is offline
 
Join Date: May 2009
Location: NJ
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i keep getting this error:

PHP Code:
Automatic Database Backup for vBulletin 3.8
An error occured during the Backup 
Could not open Destination SQL file for writing
what is wrong?
Reply With Quote
  #138  
Old 06-25-2009, 06:06 AM
Outbackmark's Avatar
Outbackmark Outbackmark is offline
 
Join Date: Jun 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You have not created the folder for it to write to or set the permissions correctly.
Reply With Quote
  #139  
Old 06-25-2009, 06:31 AM
Yonatan Yonatan is offline
 
Join Date: Jun 2008
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by smartkidbk5 View Post
i keep getting this error:

PHP Code:
Automatic Database Backup for vBulletin 3.8
An error occured during the Backup 
Could not open Destination SQL file for writing
what is wrong?

Quote:
Originally Posted by Outbackmark View Post
You have not created the folder for it to write to or set the permissions correctly.
This is unattached.

That error showing because Safe Mod turn on on his server.
turn off it and the problem will be solved
Reply With Quote
  #140  
Old 06-25-2009, 07:17 AM
Outbackmark's Avatar
Outbackmark Outbackmark is offline
 
Join Date: Jun 2007
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this installed on a number of sites, all on the same server, not in safe mode. On one site I forgot to set the folder up properly and that is exactly the same error I got. If something on the server was running in safe mode he would be having all sorts of other issues.
If you look back in this thread the error has been encountered a few times, each time is because the folder that the script writes to is not properly set up. The folder must be in the same folder that has your main vb files in it and be named the same as it is called in the config file and must have the permissions correct.
If the above is not done you will get exactly that error.

If PHP is in safe mode you will get this error -
Code:
Warning: is_file() [function.is-file]: open_basedir restriction in effect. File(../backups/2009-Jun-07) is not within the allowed path(s): ([path]/:/home/www/web1/phptmp/:/home/www/web1/files/:/home/www/web1/atd/) in [path]/includes/mysqlbackup.php on line 211

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(../backups/2009-Jun-07) is not within the allowed path(s): ([path]/:/home/www/web1/phptmp/:/home/www/web1/files/:/home/www/web1/atd/) in [path]/includes/mysqlbackup.php on line 246

Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(../backups/2009-Jun-07) is not within the allowed path(s): ([path]/:/home/www/web1/phptmp/:/home/www/web1/files/:/home/www/web1/atd/) in [path]/includes/mysqlbackup.php on line 257

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(../backups/2009-Jun-07/Forum-2009-Jun-07-aaggregate_temp_1227319800.sql) is not within the allowed path(s): ([path]/:/home/www/web1/phptmp/:/home/www/web1/files/:/home/www/web1/atd/) in [path]/includes/mysqlbackup.php on line 153

Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(../backups/2009-Jun-07/Forum-2009-Jun-07-aaggregate_temp_1227319800.sql) is not within the allowed path(s): ([path]/:/home/www/web1/phptmp/:/home/www/web1/files/:/home/www/web1/atd/) in [path]/includes/mysqlbackup.php on line 163
Reply With Quote
  #141  
Old 07-03-2009, 09:05 PM
ITDarasgah's Avatar
ITDarasgah ITDarasgah is offline
 
Join Date: Mar 2009
Location: Pakistan
Posts: 144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

after run show me this message tell me this is okay or not...no other message show.
HTML Code:
Automatic Database Backup for vBulletin 3.8
Processing access : Total Rows = 10
Processing adminhelp : Total Rows = 1690
Processing administrator : Total Rows = 4
Processing adminlog : Total Rows = 4405
Processing adminmessage : Total Rows = 0
Processing adminutil : Total Rows = 1
Processing album : Total Rows = 1
Processing albumpicture : Total Rows = 2
Processing albumupdate : Total Rows = 1
Processing announcement : Total Rows = 1
Processing announcementread : Total Rows = 17
Processing attachment : Total Rows = 703
Reply With Quote
Reply


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 06:18 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.04988 seconds
  • Memory Usage 2,330KB
  • 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
  • (1)bbcode_html
  • (2)bbcode_php
  • (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
  • (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