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)

Paul M 02-04-2011 03:48 PM

This mod has no reliance on that file.

washingtonboise 02-14-2011 10:06 PM

After reading a few pages of posts, I recommend setting the default installation path to ././backups and adding instructions to create that directory and CHMOD it 777.

That will ease things up a bit for those who are less technically inclined.

Excellent mod. One suggestion: Allow a config option for deleting old files that are 'X backups old'. This would allow for limitation of disk space usage.

upperme 02-16-2011 03:01 PM

I am new to vBulletin, so please forgive my ignorance, but I am learning. Are you saying we should not ADD a Scheduled Task? If that is the case, then where should I adjust the cron timing to initiate the backups?
Quote:

Originally Posted by Paul M (Post 2139015)
You dont change anything in the Scheduled Task settings, otherwise you will break it.


strudinox 02-16-2011 05:21 PM

Just FYI, make sure that open_basedir is disabled or it will not work. ;)

3loomShia 02-20-2011 09:26 AM

I already have the old version of this installed. Now, I just had to overwrite the old ones.
Worked fine for me. Thanks heaps, Paul. This mod is a savior.

Arkham 02-20-2011 04:35 PM

Thanks, Paul!! I couldn't SSH into the server today (my dev install which I haven't used for ages), so this mod came in handy! After I figured out where to run it manually, worked like a charm.

One thing though... The first time I ran it I had it set to backup individual tables, but I then set it to single-file backup. I'm looking in the directory and don't see a single-file that I can identify as the complete backup.

Am I missing something? (I re-ran it manually, so is there a chance that since nothing was really changed since the piece-meal backup, it didn't bother running again?)

Thx.

Paul M 02-20-2011 07:57 PM

It will always do a backup if you run it.

Not sure I understand the rest of the question, are you saying you couldnt see the created file ?

Where were you looking ?

Arkham 02-20-2011 08:50 PM

Quote:

Originally Posted by Paul M (Post 2164702)
It will always do a backup if you run it.

Not sure I understand the rest of the question, are you saying you couldnt see the created file ?

Where were you looking ?

I was looking in the same backup folder that I found the individual backup files (before I configured it to backup to a single file). I don't see the new single-file backup, only the multiple smaller files from my first backup job.

Apart from the configurable prefix, what should the single-file backup be named? <prefix>-date.sql?

Paul M 02-21-2011 11:57 PM

Im not sure you are looking in the correct place - single files will go in the root of the configured backup folder - multiple file backups create an extra folder that single file backups dont.

Arkham 02-22-2011 12:48 PM

Quote:

Originally Posted by Paul M (Post 2165203)
Im not sure you are looking in the correct place - single files will go in the root of the configured backup folder - multiple file backups create an extra folder that single file backups dont.

Ah, maybe I configured it incorrectly. All the single files went into the /backups directory specified in on the admincp config page. I'll double check when I get back in there.

Thx!


All times are GMT. The time now is 11:47 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.01419 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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