vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Vbulletin Database Backup Pro (Cron Support) (https://vborg.vbsupport.ru/showthread.php?t=78486)

paratek 03-22-2005 03:36 PM

Here is the error i get:

Database error in vBulletin 3.0.7:

Invalid SQL: LOCK TABLES `access` READ, `adminhelp` READ, mysql error:

THE REST DELETED

Access denied for user: 'xxxxxxxxx@localhost' to database 'xxx-xxx_forums'



mysql error number: 1044

Date: Tuesday 22nd of March 2005 09:30:44 AM
Script: http://xxxxxxxx.com/forums/admincp/c...cron&cronid=17
Referer: http://xxxxxxxx.com/forums/admincp/index.php?
Username: paratek
IP Address: xx.xxx.xxx.xx

Trigunflame 03-22-2005 04:15 PM

Quote:

Originally Posted by paratek
Here is the error i get:

1. Try turning off LOCK tables, in the configuration first.

You might not have LOCK priviledges or something.

paratek 03-22-2005 04:53 PM

Ok Progress...i turn off the lock feature, and using mysql type backup i get the Failover was initiated for MySQLDump Binary but backup was succesfull error....however, i can not find the backup anywhere. If i change it to php dump built into the program it does work and the backup file is in my directory. I am just concerned that i am turning locks off, as you said it was not recommended.

paratek 03-22-2005 05:01 PM

One last thing, and i am sure it was not the intended use of the program to manually do backups with it. Any backups i do on the same day, are just written over, as the file name format is saved using the date. If i do 1 backup per day, fine, it just saves the file as the next date. If i do multiple backups in one day, they will just get written over.

Trigunflame 03-22-2005 05:17 PM

Quote:

Originally Posted by paratek
One last thing, and i am sure it was not the intended use of the program to manually do backups with it. Any backups i do on the same day, are just written over, as the file name format is saved using the date. If i do 1 backup per day, fine, it just saves the file as the next date. If i do multiple backups in one day, they will just get written over.

Yes you are correct, the main function is cron. Until I create an actual "webpage" based center for the script, its running the cron function everytime you click "Run Task". So it's doing its intended job, by running the cron function.

When I finish making the AdminCP based page for it, you will be able to test different settings, customize backups, do individual dumps etc...

Note:
Yes, not using locks isnt as secure.. but if you have the shutdown forum option enabled, that is almost as good. Its basically turning the forum off to your members while the backup is in progress; that will prevent anyone from writing to the database. So, it Is your 2nd best option, just make sure its enabled.

paratek 03-22-2005 05:37 PM

Well thanks for the reply. Just smacked the install. Last question. What happens to the users already in the forums when the cron starts and shuts the board down? I haven't been able to test this myself yet.

Trigunflame 03-22-2005 05:57 PM

Quote:

Originally Posted by paratek
Well thanks for the reply. Just smacked the install. Last question. What happens to the users already in the forums when the cron starts and shuts the board down? I haven't been able to test this myself yet.

They will just get a page notifying them the board is temporarily closed, its built-in to vbulletin.

kall 03-22-2005 07:00 PM

Marvellous!

All working fine now...I can only assume my path was a bit bung..I have /backups directories dotted around the server, but it didn't find them. :)

Trigunflame 03-22-2005 07:12 PM

Quote:

Originally Posted by kall
Marvellous!

All working fine now...I can only assume my path was a bit bung..I have /backups directories dotted around the server, but it didn't find them. :)

Thats good to know :), was hoping it wasn't my code lol..

Brad 03-22-2005 07:23 PM

Good job :)


All times are GMT. The time now is 11:03 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.01426 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
  • (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