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 Pro (Lite) for vb 3.6 (https://vborg.vbsupport.ru/showthread.php?t=126925)

perfphysio 10-22-2007 10:55 AM

Hi there. Thanks for this useful tool. I have one inpt question on the permissions for the folder that this is writing the back up to, in terms of read and write and execute etc.

There are settings for owner, groups, public etc. What is the best way to lock this down so that the system can run the cron job successfully but also so that we can keep other's eyes out of there?

Also can you perhaps give us a screen shot that will show us a typical cron set up for a once a day or once a week backup?

thanks a lot :)

mgurain 11-10-2007 04:33 AM

Hi Paul M,
I used :
Code:

$backup['DUMP_PATH']        = DIR.'/../../backups/';
We I try to run in from the ACP cron, I get this message:
Quote:

Warning: main() [function.main]: Unable to access /my_server_link/my_site/vb/./includes/cron/cronbackup.php in /admincp/cronadmin.php on line 110

Warning: main(/my_server_link/my_site/vb/./includes/cron/cronbackup.php) [function.main]: failed to open stream: No such file or directory in /admincp/cronadmin.php on line 110

Warning: main() [function.include]: Failed opening '/my_server_link/my_site/vb/./includes/cron/cronbackup.php' for inclusion (include_path='.:/usr/local/lib/php') in /admincp/cronadmin.php on line 110
What's a problem ?

thanks,,

Paul M 11-10-2007 12:05 PM

Quote:

Failed opening '/my_server_link/my_site/vb/./includes/cron/cronbackup.php' for inclusion
That suggests that cronbackup.php is not in the includes/cron/ folder.

Brezeer 11-10-2007 12:15 PM

What does this mean?

XML Error: not well-formed (invalid token) at Line 2

Brezeer 11-10-2007 12:20 PM

Uhmm nvm mate my bad... i imported txt file instead xml.... sorry addon works great thanks allot for it!

PS. getting this error when backuping:

Database Backup
An error occured during the MySQL backup. Details (Could not open Destination SQL file for writing.)

Paul M 11-10-2007 07:02 PM

That means you don't have permission to create the backup file. You need to sort out your write permissions.

pakomen 11-12-2007 10:37 AM

Great tool. Thanks so much. :)

zetetic 11-15-2007 01:22 PM

I upgraded to PHP 5.2.5 yesterday, and the forum didn't re-open after the backup last night. Any idea why that might happen?

Paul M 11-15-2007 02:53 PM

Nope, no idea at all.

zetetic 11-15-2007 03:21 PM

Thanks Paul. Hopefully it was just a fluke.


All times are GMT. The time now is 07:41 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.02911 seconds
  • Memory Usage 1,734KB
  • 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
  • (1)bbcode_code_printable
  • (2)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