Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #11  
Old 07-27-2007, 12:33 AM
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Location: Tallahassee, Florida
Posts: 2,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The only reliable method of backing up is via Secure Shell (SSH) or Telnet.

Read more here: http://www.vbulletin.com/docs/html/m...atabase_backup

This modification might also interest you: https://vborg.vbsupport.ru/showthread.php?t=126925
Reply With Quote
  #12  
Old 07-27-2007, 01:08 AM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've been using this mod
Automatic Database Back-up

Wonder what the differences are between the two ?
Reply With Quote
  #13  
Old 08-02-2007, 04:11 AM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well this didnt go good at all .....

Well I decided to Go ahead and Do the Attachments From Database to File System Thing....

Created Folder on the Server Chmoded it to 777 , Made a 10MB txt back up of the database via phpmyadmin ,

Went in to attachments , Ect...ect....

Trieds 300 per cycle and it errored out

then tried 100 Same result

then 1 and it got a VB DB error and it whiped out my database Whole site GONE

I ran to phpmyadmin to upload the back up and no go it wouldnt let me sign in , Cause of errors the members were getting something to do with max connections , The Server people told me they would upload the database back up from last night (Backed up nightly) , I said ok But they said they cant cause they cant log in either ,,, OH MY GOD !!!!!!!!!!, They told me that blah blah blah 3 DAYS !!!!!!!!

I kept trying to log in and finnaly i got in as i cant upload a 10MB file if i tried i was looking for a way to just snag the attachments table and over write it ... in the mean time the site started working again all by its self ,,,WTF ?

FYI if you ever can not log into mysql cause of massive errors you can try this........

Quote:
This is also a server/host issue. The server has maxed out the number of MySQL connections your host allows you to have. You can try turning persistent connections off in your config.php:

Quote:
// ****** MASTER DATABASE PERSISTENT CONNECTIONS ******
// This option allows you to turn persistent connections to MySQL on or off.
// The difference in performance is negligible for all but the largest boards.
// If you are unsure what this should be, leave it off. (0 = off; 1 = on)
$config['MasterServer']['usepconnect'] = 0;
But if you still have problems after that, all you can do is ask your host to raise the maximum number of connections they allow.
Can i download all the attachments from phmyadmin then upload them to my attachments folder ? How do i make VB call for the attachments from the folder insted of the database and how do i make it start saving in the attachments insted of database I need some help with this as Trial and error is not cutting it , My database back up txt file is over 10MB i cant upload 10MB what am i suppose to do if the site crases ,,, Revert to the hosts back up thats every night ? then its a waste for me to back up before updates as i couldnt upload the back up if i wanted to.


My Sites still messed up Real Slow Ect..... HELP

How do i do this !!!!!!!!!

Can I download all attachments then upload to the attachments folder then click switch to file system?
Reply With Quote
  #14  
Old 08-22-2007, 04:30 PM
theOZer's Avatar
theOZer theOZer is offline
 
Join Date: Mar 2007
Location: Colorado, USA
Posts: 212
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Referencing Kirk Y's Post #4:
I've read the vB manual of moving attachments to the filesystem. I know how to work with SSH and/or FTP, how to create directories, but, I can't wrap my mind around "good practice to create it above public_html". Just where IS "above public_html"? Is it above the / root directory shown when I run FTP? Is it when in SSH I'm in my htdocs folder? It's the 777 folder privileges that has me very concerned about where to create an attachment directory.
Also, Has anyone incorporated using .htaccess in the attachment folder? If so, how to do you "make that work"?
Reply With Quote
  #15  
Old 08-22-2007, 05:26 PM
Kirk Y's Avatar
Kirk Y Kirk Y is offline
 
Join Date: Apr 2005
Location: Tallahassee, Florida
Posts: 2,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Above public_html is your root directory; when you login to your ftp you should normally see a "public_html" folder amongst several others -- depending on your server and configuration. Anything above public_html is inaccessible through the browser, so your attachments are safe from being directly executed; ie: mysite.com/attachments/image.gif.
Reply With Quote
  #16  
Old 08-23-2007, 08:12 PM
theOZer's Avatar
theOZer theOZer is offline
 
Join Date: Mar 2007
Location: Colorado, USA
Posts: 212
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you, Kirk Y, for your prompt response and help.
____________________
08/25/07 Postscript -
Moving my file attachments to the filesystem worked like a charm. vBulletin Rules!
I followed the vBulletin Manual Moving Attachments to the Filesystem instructions.
Here's how I "found" my attachment file path, which is asked for in your attachment movement install:
Log in thru SSH, then enter pwd to see your filesystem location, your path.
Here's an attachment file path example:
/kxndxn/homepages/xx/dxxxxxxx/htdocs/your_attachment_directory_name
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:17 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03782 seconds
  • Memory Usage 2,216KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete