vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   from database to file system (https://vborg.vbsupport.ru/showthread.php?t=200205)

jd_sa_bowler 12-30-2008 06:10 PM

from database to file system
 
I am transferring my site from my home server to a host.

My mysql database for the vbulletin is 200 meg with attachments and avatars stored in the database.

The host only allows a max of 51 meg for mysql databases.

I want to change the attachments from being stored in the database to the file structure.

I am able to do this in the control panel of vbulletin but what does it do to the existing posts and attachments?

Does it strip the attachments out of the database and put them in the specified directory and provide a link for the attachment in the file structure in the post?

I don't want to lose the integrity of the posts and attachments.

cheers

Lynne 12-30-2008 06:48 PM

It does nothing to the posts, but it will change the attachment table (you will need to optimize/repair it to reduce the size). vB will know the attachments are now in the filesystem and will act accordingly to point to them.

jd_sa_bowler 12-30-2008 07:01 PM

Quote:

Originally Posted by Lynne (Post 1697351)
It does nothing to the posts, but it will change the attachment table (you will need to optimize/repair it to reduce the size). vB will know the attachments are now in the filesystem and will act accordingly to point to them.

Cheers Lynne :)

Marco van Herwaarden 01-01-2009 11:52 AM

Quote:

The host only allows a max of 51 meg for mysql databases.
Instead of trying to find a solution to eep under the 51Mb, i strongly suggest that you find a new host. This limit is simply too low to run a medium active board for a longer time.

Medtech 01-01-2009 07:03 PM

I do this often, go into admincp/ attachments/ storrage type and you will see the option to move files into the file system. you will need to create /attachments directory in your forum root and chmod it to 777. make sure the spelling is the same as in the admincp. move the files. do the same for avatars, forumpics, sig pics, and the rest of the images. your database should be about 30 meg with 6,000 users after you do this.

All forum owners should do this anyway, makes for small backups and forum runs smoother.


All times are GMT. The time now is 07:08 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.01074 seconds
  • Memory Usage 1,718KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete