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)

silentdub 04-08-2010 10:10 AM

I installed it, I did not modify the config files.

I created a backups directory under the /public_html
I set the permissions to 777

When I click "Run Now" I get the following error:

I set the permissions to 777

Automatic Database Backup for vBulletin

An error occured during the Backup :

I changed the path to ././backups/ as defined in a previous post and still get the same error.

I do have the backups directory right under public_html Do I need to specify the entire path?

I know I am screwing something up, not sure what though.

Paul M 04-08-2010 04:46 PM

The path would depend on what path your forum is - but on a typical setup, from the info you have given, I would suggest you try ../backups/

silentdub 04-08-2010 07:37 PM

Quote:

Originally Posted by Paul M (Post 2017987)
The path would depend on what path your forum is - but on a typical setup, from the info you have given, I would suggest you try ../backups/

Thanks, the forum is located under /public_html/forums

So should I create the directory under forums or public_html?

silentdub 04-08-2010 08:16 PM

Quote:

Originally Posted by silentdub (Post 2018048)
Thanks, the forum is located under /public_html/forums

So should I create the directory under forums or public_html?


Thanks man, I got it working.

the backups directory needs to be under the forums directory when you use the ../backups/

Thanks again!

MonkYZ 05-24-2010 01:43 AM

Great mod ! Btw, how can i set it up so it doesn't keep anything but last 3 backups or so ? The database is really big and if i forget about backups, it takes too much space :) Thx in advance !

romeo12 05-24-2010 05:10 AM

Using the vB default "database backup" causes error frequently. Does this hack also ends up in error or this is safe to use?

MonkYZ 06-25-2010 10:58 AM

Quote:

Originally Posted by MonkYZ (Post 2042478)
Great mod ! Btw, how can i set it up so it doesn't keep anything but last 3 backups or so ? The database is really big and if i forget about backups, it takes too much space :) Thx in advance !

We really need a way to change how many backups to be kept on server. I just got my drive full... and when i checked, it was filled with sql files made by vB Database Backup... Please, can you find a way for this ?

Paul M 06-25-2010 05:25 PM

This has already been posted before - but you can change the backup date options to limit the number of files - for instance I use a lowercase L, which means they are called Monday, Tuesday etc, so you only ever have 7 files - after that they overwrite each other. You can use other options (such as the day of the month).

MonkYZ 06-26-2010 09:26 AM

Quote:

Originally Posted by Paul M (Post 2059486)
This has already been posted before - but you can change the backup date options to limit the number of files - for instance I use a lowercase L, which means they are called Monday, Tuesday etc, so you only ever have 7 files - after that they overwrite each other. You can use other options (such as the day of the month).

I don't understand what you mean. If i go in my Scheduled Task Manager and look for Automatic Database Backup for vBulletin i can only set what day of the week, day of the month and hour i want to backup. I don't understand how can i limit the number of files (what lowercase L means ? where do i find that ?)...

Simon Lloyd 06-26-2010 05:28 PM

Quote:

Originally Posted by Paul M (Post 2059486)
This has already been posted before - but you can change the backup date options to limit the number of files - for instance I use a lowercase L, which means they are called Monday, Tuesday etc, so you only ever have 7 files - after that they overwrite each other. You can use other options (such as the day of the month).

Paul, i'm also interested in doing this, i have my cron job set to every sunday, how do i get it to overwrite the previous weeks entry?


All times are GMT. The time now is 09:00 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.01490 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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