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

Reply
 
Thread Tools
vB Database Backup Pro - Convert to run on vB3.5 Details »»
vB Database Backup Pro - Convert to run on vB3.5
Version: 1.6, by Paul M Paul M is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.5.x Rating:
Released: 04-05-2006 Last Update: 04-14-2006 Installs: 35
 
No support by the author.

This modification is no longer available or supported.

When vb 3.5 first came out I was using this backup system on my 3.0 - and having nothing better to use - I converted it to work on vb 3.5.

Since then I have seen numerous requests for a 3.5 version, and even sent my working version to the guy who apparently bought the rights to it in January. So far no new version has ever been released, though I believe Trigunflame is working on a completely new system.

I cannot (afaik) just release my version, as most of the code is still the original, therefore I have spent a few hours today detailing the (smallish) changes I made in order to make this work, and am now releaseing them as an Add-On to the original hack.

Please note that I do not use the ftp function, zipping function, or the mysqldump option, so i have no idea if they work or not. Also, no existing bugs are fixed.

Unless I missed out an actual conversion step then this is offered as is.

I will not add anything new, or spend any time supporting it. This is done simply to allow people to use the old hack on 3.5 until a new [proper] version is supplied by the relevant people.




History:

v1.6 : Missing elements added.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #32  
Old 04-11-2006, 05:22 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

Quote:
Originally Posted by oneglory
edit: './backup/'; worked
Yes, it has to be a valid path. I assumed that people actually altered this to their own path as the default is not really a good idea (the backups are available for anyone to download).
Reply With Quote
  #33  
Old 04-12-2006, 02:23 AM
oneglory oneglory is offline
 
Join Date: Mar 2006
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

yea mine isn't actually "backup" its named something else, i just put it up here as an example.
Reply With Quote
  #34  
Old 04-14-2006, 11:36 PM
99Percent 99Percent is offline
 
Join Date: May 2002
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am still having trouble with this mod. For somereason it is not reading the configuration for the the DB, USER, PASS and HOST, even with the require to config.php added right into the mysqlbackupconfig.php. So it fails over to phpbackup, which I don't want either.
Reply With Quote
  #35  
Old 04-15-2006, 12:14 AM
99Percent 99Percent is offline
 
Join Date: May 2002
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

another correction I am making for mysqlbackup.php:

instead of
Code:
if (!$this->TYPE && $this->COMBINE)
it should say:
Code:
if ($this->TYPE && $this->COMBINE)
and in mysqlbackupconfig.php
instead of
Code:
  If you have selected option 0 to dump specific tables. This 
  option determines whether or not the dumps are Re-Combined
It should say:
Code:
  If you did not select option 0 to dump specific tables. This 
  option determines whether or not the dumps are Re-Combined
Reply With Quote
  #36  
Old 04-15-2006, 01:11 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

This is what happens when you try and find all the changes you made and end up missing bits - this got missed as well;

Code:
Find ;

		if (!$this->TYPE && $this->COMBINE)

Replace With ;

		if ($this->MULTIFILE == 0)
Added to file.
Reply With Quote
  #37  
Old 04-16-2006, 06:36 PM
chet chet is offline
 
Join Date: Feb 2004
Location: Nottingham (UK)
Posts: 220
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Cheers Paul
Reply With Quote
  #38  
Old 04-18-2006, 07:35 PM
camoman camoman is offline
 
Join Date: Oct 2004
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had this running on 3.0.7 then upgraded to 3.5.4. I have since made the changes listed here and when I execute the task it gives me this error
Quote:
Fatal error: Cannot instantiate non-existent class: mysqlbackup in /home/****/public_html/forum/includes/cron/cronbackup.php on line 29
and line 29 reads this:

Quote:
require_once('./includes/adminfunctions.php');$mysqlBackup = &new mysqlBackup($backup, $vbulletin->db);
any help would be appreciated!!

Thanks!
Reply With Quote
  #39  
Old 04-18-2006, 07: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

How have you ended up with a line like that ?

If you have followed the instructions then those two bits of code cannot be be together like that. Somethings wrong with your file and that's almost certainly why it fails.
Reply With Quote
  #40  
Old 04-18-2006, 08:16 PM
camoman camoman is offline
 
Join Date: Oct 2004
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for pointing that out.. that part is fixed now..

HOWEVEr, I now get this:

Quote:
Failover was initiated for MySQLDump Binary & An error occured with configuration. (GZ) alone is not compatible for compressing multiple files into 1 archive. Read Config.
And all tables are backedup sepratley in my backup folder???

I also tried to set it to do a .tar archive adn recieved this error:

Quote:
Failover was initiated for MySQLDump Binary & An error occured outputing a New Tar Archive with the shell Tar Binary (tar -cS --remove-files -f /home/*****/backup/2006-04-18.tar /home/*****/backup/2006-04-18).
Reply With Quote
  #41  
Old 04-18-2006, 09:09 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

If you want the table files combined into one file then set the COMBINE option in the config file to 1, not 0.

The rest I cannot help you with - it's functionality of the (original) hack, which I don't support.
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 05:12 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.04803 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
  • (5)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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • 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