vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   vB Database Backup Pro - Convert to run on vB3.5 (https://vborg.vbsupport.ru/showthread.php?t=112304)

Paul M 04-11-2006 05:22 PM

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).

oneglory 04-12-2006 02:23 AM

yea mine isn't actually "backup" its named something else, i just put it up here as an example.

99Percent 04-14-2006 11:36 PM

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.

99Percent 04-15-2006 12:14 AM

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


Paul M 04-15-2006 01:11 AM

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.

chet 04-16-2006 06:36 PM

Cheers Paul

camoman 04-18-2006 07:35 PM

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!

Paul M 04-18-2006 07:57 PM

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.

camoman 04-18-2006 08:16 PM

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).

Paul M 04-18-2006 09:09 PM

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.


All times are GMT. The time now is 02:03 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.01147 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete