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)

3loomShia 09-21-2010 12:53 PM

Your awesome. I can not worry less.

Thanks heaps, Mate.

:)

Parture 09-27-2010 04:11 AM

Why can't we just use the Backup Wizard with CPANEL 2 Accelerated to do a backup of all files and the database?

In the manual for vBulletin it says to select drop tables. That is the only thing that is not selected in standard setup of mysql. When I use the backup wizard it doesn't give you the option to select anything any options to back.

Is that ok?

Paul M 09-27-2010 11:27 AM

I dont know anything about cpanel, I dont use it.

Dropping tables doesnt sound a very good plan - you do know that means deleting the table ?

Parture 09-27-2010 08:33 PM

Ya I know what drop table means. In the manual it says when backing up...

http://www.vbulletin.com/docs/html/

In the second area, called SQL Options, make sure you have the following boxes checked:
Structure
Add 'drop table'
Add AUTO_INCREMENT value
Enclose table and field names with backquotes
Data

When I go into my SQL all of these are selected already except for Add 'drop table' that is: Add DROP TABLE / VIEW / PROCEDURE / FUNCTION

If this is not selected when backing up is that ok? If that's ok then I think I am ok to use CPANEL 2 Accelerated 2 and don't have to use any of the various other methods for backing up like Shell/SSH and other methods.

If not, I think I should export my database from php admin so I can select this box that is not currently selected.

If my thinking is right let me know. That CPANEL 2 built in backup method is really easy.

Paul M 09-27-2010 10:15 PM

Ah, that means add a drop command to the backup itself - yes you should normally do that as it makes restores work better.

If you want to use cpanel or php admin to manually run backups then go ahead, its your choice. I prefer to just let vb do it all automatically each night, without any need for me to do anything. :)

Parture 09-28-2010 12:14 AM

That's interesting, maybe I will try it your way, seems easier.

I still don't understand SSH and Shell and Telnet and and Keys and all that.

I noticed SSH and Telnet don't give you the option to Add 'drop table' either. Does your cron? If not then the only way to check off that box is to do it in phpadmin and export from php admin.

And last dumb question: why are there so many options? Why do we need to use Putty? Why can't we just use the Telnet or SSH in CPANEL 2 Accelerated?

I get that Shell Telnet and SSH are better (even though I don't really understand), because there are no timeouts, and maybe that's why vBulletin got rid of backups through vBulletin control panel.

Paul M 09-28-2010 01:00 AM

Yes this adds a Drop Table command to backups.

The rest of your questions have no relevance to this modification.

Parture 09-30-2010 02:14 AM

Sorry.

Parture 09-30-2010 02:25 AM

Should we backup all tables to one big file? Lock tables and do a repair before backing up?

onehost 09-30-2010 02:53 AM

My board crashed about a month ago, and I was using this hack and had some backups made that the mod created, the forum restore never could use them to restore, as it could not read them, so I had to rely on my manual backups of the sql that I was doing...I am glad I did not put 100% faith in this...not saying it does not work, it just did not restore for me when I tried...so I do not know how many of you have actually used this backup to restore, as most users just backup, and never have to restore...dont be lazy, never hurts to keep manual backups as well.


All times are GMT. The time now is 04:09 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.01692 seconds
  • Memory Usage 1,735KB
  • 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
  • (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