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 - vBulletin Cron Based Database Backup (https://vborg.vbsupport.ru/showthread.php?t=231481)

fldewey 09-20-2011 03:27 PM

Works perfect - thank you.

DaVitsche 09-28-2011 05:45 AM

no matter what I try I keep getting this error
Backup Error : Could not write to destination file ( ../testbackups/2011-09-28/Forum-2011-09-28-Access.sql )

I manually created the folder /testbackups and the folder /2011-09-28 gets created automaticly.
I've set 777 to the testbackups folder and all subfolders, but the file itself isn't being written.

This is the path I filled in Vbulletin automatic options: ../testbackups/

What am I missing?

after losing 8 years worth of content after 2 issues I want those backups to work!

Paul M 09-28-2011 12:20 PM

Its a permissions error of some kind, you probably need to speak to your host.

charlesr 10-07-2011 03:09 PM

I had the same problem as DaVitsche - no amount of permission fiddling would work. Moving the backupfolder inside the normal website structure at the same level as "includes" for example worked fine with chmod 755.

Trevor Matthews 10-08-2011 02:39 PM

Hi
I too have the same problem.

backBackup Error : Could not write to destination file ( ../../backups/2011-10-08/Forum-2011-10-08-Access.sql )

I created a folder called backups and put in the forums folder and tried it in the root of the server but I stil get the above error.

Permissions were tried at 777 and 755.

Any idea what I have done wrong?

Trevor Matthews 10-08-2011 04:20 PM

Problem solved.

I created a folder called backups and placed it in the same folder as my forum.

I then set the path to backups/
That solved the problem and it now works.

How do I know if I have any InnoDB Tables

And should I set block processing to on and what size should I select?

My forums database is about 40meg on the server and the gzip file is 10meg, does that sound right?

Thanks for a very useful mod.

Paul M 10-09-2011 07:46 PM

You should avoid saving backups anywhere that is acessible over the web (like in your forum folder). If you must, then at the very least protect the folder using htaccess. If you dont anyone can access your backups by typing in the url.

Trevor Matthews 10-09-2011 07:47 PM

It seems Cometchat uses InnoDB tables.
I have this installed so have selected that option.

TeknoSounds 10-10-2011 09:14 AM

Quote:

Originally Posted by Trevor Matthews (Post 2254725)
Hi
I too have the same problem.

backBackup Error : Could not write to destination file ( ../../backups/2011-10-08/Forum-2011-10-08-Access.sql )

I created a folder called backups and put in the forums folder and tried it in the root of the server but I stil get the above error.

Permissions were tried at 777 and 755.

Any idea what I have done wrong?

Quote:

Originally Posted by Trevor Matthews (Post 2254763)
Problem solved.

I created a folder called backups and placed it in the same folder as my forum.

I then set the path to backups/
That solved the problem and it now works.

How do I know if I have any InnoDB Tables

And should I set block processing to on and what size should I select?

My forums database is about 40meg on the server and the gzip file is 10meg, does that sound right?

Thanks for a very useful mod.

You can set the folder outside the forums using the relative path. Such as "../backups/" This path works for me currently. But as mentioned if anything you will need to protect it with a htaccess user/pw to ensure its not immediately accessible from the net.
I see in your previous post you used "../../path/"
That path will go up 2 folders from the VB forums folder. The question is does your linux user have permissions to be able to write to that folder?
And yes, that zip file sounds about right for the correct size.

FTDave 10-13-2011 03:28 AM

If you don't install this you are insane. :)

This little hack has saved me big time!!!!

Thank you!!!


All times are GMT. The time now is 09:01 AM.

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.02096 seconds
  • Memory Usage 1,740KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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