vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - vB Database Backup (https://vborg.vbsupport.ru/showthread.php?t=167276)

Jason Buchanan 06-01-2008 11:12 PM

Okay I have installed everything in the proper folders. I click run and get:
Automatic Database Backup for vBulletin 3.7

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

I created a folder named backups? What else should I do and how do I CHMod a folder to 777?

Jason Buchanan 06-01-2008 11:30 PM

I changed all the 0666 to 0777 and now when I run it I get this:

Automatic Database Backup for vBulletin 3.7

Warning: require_once([path]/includes/mysqlbackup.php) [function.require-once]: failed to open stream: No such file or directory in [path]/includes/cron/cronbackup.php on line 19

Fatal error: require_once() [function.require]: Failed opening required '/home/darkhors/public_html/forum/includes/mysqlbackup.php' (include_path='.:/usr/local/php52/pear') in /home/darkhors/public_html/forum/includes/cron/cronbackup.php on line 19

TrIn@dOr 06-02-2008 02:23 AM

Thanks.

shlomot 06-02-2008 03:04 AM

Thanks for this important MOD. However, I'm getting the same error:
Quote:

Originally Posted by nothing4me (Post 1506066)
I get the error: An error occured during the Backup : Could not open Destination SQL file for writing.

The situation is as follows:

1. I didn't edit anything in mysqlbackupconfig.php

2. Since the relative path for the backup files is '../../backups/', I created a 'backups' folder in forum root and chmod to '777'

What am I missing here? Thanks for your help.

|Jordan| 06-02-2008 05:05 AM

Is there any way to have it automatically compress the backed up database? The backup can be quite large.

russbo 06-02-2008 05:15 AM

try ./backups/ if your backup folder is in the forum root, or, ../forum/backups/

I had to play with mine for a bit. You guys get this error when the config file can't find the backups folder.

I put mine outside the forum root, and outside the public html root so that it's more protected. use the actual server path to the folder if you want to do it that way.

Paul M 06-02-2008 06:52 AM

Quote:

Originally Posted by shlomot (Post 1538336)
What am I missing here? Thanks for your help.

Probably open_basdir protection.

Quote:

Originally Posted by |Jordan| (Post 1538380)
Is there any way to have it automatically compress the backed up database? The backup can be quite large.

Nope, this has no such facility.

shlomot 06-02-2008 07:40 AM

Quote:

Originally Posted by Paul M (Post 1538443)
Probably open_basdir protection.

How can I overcome this challenge?

Paul M 06-02-2008 08:02 AM

Read this, and speak to your host.

shlomot 06-02-2008 08:55 AM

Thank you. Will do.

Quote:

Originally Posted by Paul M (Post 1538485)
Read this, and speak to your host.



All times are GMT. The time now is 11: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.01366 seconds
  • Memory Usage 1,738KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (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