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)

djbaxter 09-11-2013 04:27 PM

Quote:

Originally Posted by Bob_R (Post 2443903)
How come/Why are the queued files are a different count every day. I understand if you had a mod the count changes. But, I haven't added anything lately and the numbers seem to be different most of the time after being a constant number for the longest time.

Thanks.

Quote:

Originally Posted by charlesr (Post 2444076)
Cache files?

Quote:

Originally Posted by Bob_R (Post 2444918)
Need answer. TY. :up:

I think Charles answered you. There are database changes that change:

various log files
autosave
cache, externalcache
cpsession
datastore
indexqueue if you use it
mailqueue if you use it
plugin as you add and delete add-ons
session

sivaganeshk 09-17-2013 02:50 PM

possible to take this backup once in a week to AWS Glacier?

Paul M 09-18-2013 12:19 AM

I dont know what that is.

This will only backup to a folder on your server. Technically that could be an NFS mapped drive or some other remote system, however, it must appear as a folder or simlink on the server.

DemOnstar 09-18-2013 03:22 AM

Quote:

Originally Posted by friendlymela (Post 2444095)
which Vb version u r using?

4.2.1

chikuru 10-11-2013 06:28 PM

After 4.2.2 upgrade:

I ran the scheduled task manually,

Code:

Warning: Assigning the return value of new by reference is deprecated in ....\includes\cron\cronbackup.php on line 18

ozzy47 10-11-2013 07:19 PM

Open the file, includes\cron\cronbackup.php on line 18, in that file find the following:

Code:

$excludedForums = s$mysqlBackup = &new mysqlBackup($vbulletin->db, $vbulletin->options);;
Replace with:
Code:

$mysqlBackup = new mysqlBackup($vbulletin->db, $vbulletin->options);

jluerken 10-17-2013 04:48 AM

Ho ozzy47,

after updating to 4.2.2 I get this error message in addition to the one you fixed already:

Quote:

Warning: Function set_magic_quotes_runtime() is deprecated in ..../includes/cron/cronbackup.php on line 13
Do you have a fix for this too?

ozzy47 10-17-2013 09:31 AM

Open includes/cron/cronbackup.php and replace.
Code:

@set_magic_quotes_runtime(0);
Wit this
Code:

ini_set("magic_quotes_runtime", 0);
This is untested, but it should work.

Superorb 10-17-2013 10:09 PM

Hmm, weird... I just upgraded to 4.2.2 from 4.2.0PL3 and the only thing I had to change on line 18 was to omit an "&" from before "new", the rest of the string was identical. And I'm not getting an error on line 13 and mine still says "@set_magic_quotes_runtime(0);".

ozzy47 10-17-2013 10:23 PM

That may be due to your php version.


All times are GMT. The time now is 10:56 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.02544 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
  • (5)bbcode_code_printable
  • (5)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