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)

dodgeboard.com 12-29-2009 03:56 AM

Things looked like they were going fine until....

Processing poll (72) : Processed 72 Rows in 0.006 seconds
Processing pollvote (2284) : Processed 2284 Rows in 0.176 seconds
Processing post (127205) : Processed 127205 Rows in 18.943 seconds
Processing postedithistory (2571) : Processed 2571 Rows in 0.629 seconds
Processing posthash (7) : Processed 7 Rows in 0.015 seconds
Processing postindex (2778108)

No errors...just froze.

After about an hour on postindex, I gave up. Apparantly, this doesn't work so well on Hostgator shared hosting.

It was worth a try. Thanks anyway Paul. I use many other mods you've created.

UNinstalling.

JHUMON 12-29-2009 04:34 AM

Thanks a lot.

Bouncer222 12-29-2009 05:27 AM

So how do you set the time interval for it to create a backup? And does it create only mysql or public_html (my forums directory) backups or both of them in the backups folder?

I would like to make it per week. How I do that?

M3xital 12-29-2009 06:45 AM

Thanks! Works great.

KEKforce 12-29-2009 09:10 AM

Quote:

Originally Posted by dodgeboard.com (Post 1941179)
Things looked like they were going fine until....

Processing poll (72) : Processed 72 Rows in 0.006 seconds
Processing pollvote (2284) : Processed 2284 Rows in 0.176 seconds
Processing post (127205) : Processed 127205 Rows in 18.943 seconds
Processing postedithistory (2571) : Processed 2571 Rows in 0.629 seconds
Processing posthash (7) : Processed 7 Rows in 0.015 seconds
Processing postindex (2778108)

No errors...just froze.

After about an hour on postindex, I gave up. Apparantly, this doesn't work so well on Hostgator shared hosting.

It was worth a try. Thanks anyway Paul. I use many other mods you've created.

UNinstalling.

Got the same problem.....

kisanjong 12-29-2009 09:59 AM

Excellent - Thanks installed

Processed Database in 18.805 seconds

Backup Completed Successfully

Done

phonexpo 12-29-2009 10:02 AM

Quote:

Processed Database in 20.765 seconds

Backup Completed Successfully
Done
Working well for me :)

Thanks Paul,

-Patrick

Paul M 12-29-2009 11:29 AM

Quote:

Originally Posted by dodgeboard.com (Post 1941179)
No errors...just froze.

After about an hour on postindex, I gave up. Apparantly, this doesn't work so well on Hostgator shared hosting.

Hostgator probably timeout the script (The mod trys to set it to one hour, but some hosts disallow their timeout from being changed).

Given that it took 18.9 seconds to process about 127000 rows, then 2778108 is going to take about 20 times longer (over 6 minutes).

The only way I can think of getting round this is to process larger record counts in batches. It would have to be optional as it would probably slow down the backup, and not everyone would need it, but may help your issue. I will provide a beta version for people to test later.

Edrondol 12-29-2009 01:18 PM

Worked perfectly. Great work! I know my host does daily backups, but this prevents me from having to wait until they look at a trouble ticket, etc.

kisanjong 12-29-2009 03:03 PM

Quote:

Originally Posted by Bouncer222 (Post 1941236)
So how do you set the time interval for it to create a backup? And does it create only mysql or public_html (my forums directory) backups or both of them in the backups folder?

I would like to make it per week. How I do that?


goto Scheduled Tasks/Scheduled Task Manager in admincp and edit Automatic Database Backup for vBulletin settings.


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