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)

waza 06-05-2005 04:41 PM

Bug:
If my forum is set to off, and I or My forum runs the backup script, it is still set to off, but The offline message isn't there and it is just like it's on.

clearchannel 06-06-2005 11:49 PM

I have installed and it works great clicks install.

One question. If I compress my database during backup, what is the syntax I use to restore the database?

excample: mysql -uusername -p databasename </home/virtual/site1/fst/var/www/html/forums/backups/databasename.sql.gz

Mosh 06-07-2005 02:28 AM

Quote:

Originally Posted by clearchannel
I have installed and it works great clicks install.

One question. If I compress my database during backup, what is the syntax I use to restore the database?

excample: mysql -uusername -p databasename </home/virtual/site1/fst/var/www/html/forums/backups/databasename.sql.gz

Firstly you need to run gzip to uncompress the archive:

gzip -d /home/virtual/site1/fst/var/www/html/forums/backups/databasename.sql.gz

Then run:

mysql -uusername -ppassword databasename < /home/virtual/site1/fst/var/www/html/forums/backups/databasename.sql

ADDITION: When you refresh the forum, you may have to login to the admincp, if you choose to turn them off when the backup was being performed:

goto vBulletin Options -> vBulletin Options -> Turn Your vBulletin On and Off -> Forum Active. Ensure the Yes radio button is selected and click Save (yes even if it was already selected the saving of it will re-enable the forums).

quachvu 06-07-2005 02:03 PM

hi i have this error
Fatal error: Call to undefined function: ini_get_all() in /var/www/web0/html/forum/includes/mysqlbackup.php on line 1794
any idea?

clearchannel 06-07-2005 09:36 PM

Quote:

Originally Posted by jdsinclair
Firstly you need to run gzip to uncompress the archive:

gzip -d /home/virtual/site1/fst/var/www/html/forums/backups/databasename.sql.gz

Thank you for the quick response.

I have one other small problem. If I run the script manually, the backup appears as intended in the backup directory.

It will not run automatically?
There are no logs enteries, the task manager states it is scheduled to run at the specficed time, but beyond that, nothing happens?

Great script BTW.

neocorteqz 06-07-2005 10:28 PM

Quote:

Originally Posted by clearchannel
Thank you for the quick response.

I have one other small problem. If I run the script manually, the backup appears as intended in the backup directory.

It will not run automatically?
There are no logs enteries, the task manager states it is scheduled to run at the specficed time, but beyond that, nothing happens?

Great script BTW.

started happening to me after I upgraded the script.

It may be the FTP dump option.

mkdevo 06-08-2005 12:13 PM

one problem - this doesn't seem to be pruning old backups for me. i have the # of backups to keep set to 2, but it just keeps adding to the backups that were already there..

n_wattam 06-09-2005 10:44 PM

<font color="red">I would like to see an option for restoring a database back... this also is a pain unless you have shell access.</font>

Dream 06-10-2005 05:10 AM

great! the exec() worked somehow :)

might I suggest putting the vb version in the filename, and maybe some other date format options

dsboyce8624 06-10-2005 07:42 PM

Okay, this ran fine until a couple days ago, now I get this:

Could not fetch database options. Shutting backup down.

Help please?


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.02258 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
  • (2)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