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 (Lite) (https://vborg.vbsupport.ru/showthread.php?t=201319)

Paul M 09-16-2009 10:27 PM

Not much a can say to that :)

Joe2288 09-17-2009 04:40 PM

I'm also getting the error

An error occured during the Backup :

My backup path is ././backups/ and it does create folders with the current date when I manually start the process but nothing else.

Any ideas?

Paul M 09-17-2009 04:56 PM

././backups/ should really be ./backups/

You need to check folder permissions.

Joe2288 09-17-2009 05:07 PM

I have folder permission set at 777 and as I mentioned it does create subfolders with the current date so I think the permission is set correctly.

I changed the path to ./backups/ still the same error.

Joe2288 09-17-2009 05:47 PM

Ok, I checked a little further into this problem. It does have something to do with permissions.
Folder /backups/ permission is 0777 owner me
Folder /backups/2009-09-17 permission 0777 owner www-data ... does this matter?

So I went on and edited mysqlbackup.php in order to remove the creation of folder as this is somehow creating the problem for me ....

// Cron Based Automated Backup
function cronBackup()
{
/*
Set Full Dump Path.
*/
//$this->FULL_PATH = $this->DUMP_PATH.$this->DATE.'/'.$this->PREFIX.$this->DATE;
$this->FULL_PATH = $this->DUMP_PATH.'/'.$this->PREFIX.$this->DATE;

/* Short Path */

//$this->SHORT_PATH = $this->DUMP_PATH.$this->DATE;
$this->SHORT_PATH = $this->DUMP_PATH;

/*
Close Forum.
*/
if ($this->SHUTDOWN) { $this->forumStatus(0); }

/*
Remove previous SQL Files.
*/
//$this->removeDir($this->SHORT_PATH);
//$this->createDir($this->SHORT_PATH);

/* Clear Cache */
clearstatcache();
..............
............

I no longer have dated folders, but it is working now.

Allan 09-20-2009 06:20 AM

Quote:

Originally Posted by VedicJunction (Post 1883494)
Hi Paul!,, since i cannot wait for the next version of the mod, i tried to patch the mod with this option... :).... i thought of uploading my modifications so that other ppl can benefit.. hope you dont mind...

i have added two options :

IF you choose to "COMBINE FILES" Then:-

1. All the backups now goes into a single backup dir.
2. If on Linux... then you also have a option to produce a compressed .gz file.

Installation :

1. install the original mod.
2. replace mysqlbackup.php with the attached one.
3. Uninstall the product.
4. Re-import the product with the attached xml file.

Important info..
1. the relative path do not work for me... i used full path (/home/sdadsf/backup/)
2. Do not use this if you do not want to combine your files..
3. I am not a php programmer .. so use it at your own risk.!!

Thank you, but don't work for me :(

ChopSuey 10-08-2009 02:05 AM

Tried everything, read all posts, getting an error.

need2fart 10-09-2009 06:02 AM

When I try it, it backs up everything but when it gets to my posts it just stops and says done?

Code:

Processing podcastitem (No Data)
Processing poll (218) : Processed 218 Rows in 0.016 seconds
Processing pollvote (8249) : Processed 8249 Rows in 0.327 seconds
Processing post (136557)

Thats all I see and it says done... I don't think it is right tho because it didn't say the time processed.

Can someone help me with this I think it timed out. =(

ChopSuey 10-09-2009 08:16 AM

How did you get it to work? Whats your path for it?

Paul M 10-09-2009 10:05 AM

Quote:

Originally Posted by need2fart (Post 1896992)
Thats all I see and it says done... I don't think it is right tho because it didn't say the time processed.

Can someone help me with this I think it timed out. =(

That certainly looks like it failed, and timeout is the most likely reason.


All times are GMT. The time now is 12:30 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.01806 seconds
  • Memory Usage 1,741KB
  • 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