Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 10-22-2014, 04:56 PM
too_cool_3's Avatar
too_cool_3 too_cool_3 is offline
 
Join Date: Sep 2007
Location: ON, Canada
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Moving Attachments to a Different Host

Hi,

In AdminCP>Attachments>Attachment Storage Type, there is an option to Move Items to a Different Directory. I'm exploring the idea of moving attachments off my vBulletin host's server (to save space) onto a cheaper shared hosting server.

I was advised by support on vbulletin.com that there is no way to enter a path that is to a different host. You may only enter a path that is relative to the server root. If I want to host attachments on a different server, I would need to modify the code to do this.

Does anyone here know how to do this or can give me instruction?

I'm hoping there is a relatively simple way to go about this that won't break the existing links of all attachments on my forum forcing users to re-upload everything. Would there be any other problems that would arise from doing this?

Regards,

Marc
Reply With Quote
  #2  
Old 10-22-2014, 05:01 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First off make sure your attachments are being stored as files. Then use ftp to download them and upload them to the new host. There are other ways but this is probably the easiest way.

#oh wait.. I mis read the post. You are staying on the same server but want your attachments on another server? That is really going to slow you down. i would not suggest it.
Reply With Quote
  #3  
Old 10-23-2014, 03:22 AM
too_cool_3's Avatar
too_cool_3 too_cool_3 is offline
 
Join Date: Sep 2007
Location: ON, Canada
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, my forum will stay where it is but I'm exploring the idea of moving/hosting attachments (essentially pictures) on a different (cheaper) server. Would it be that bad?
Reply With Quote
  #4  
Old 10-23-2014, 05:22 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If problems were to occur with your new setup, could you troubleshoot it yourself or would you end up having to pay someone to fix the problem. Always look at the total cost and time of an implementation.

If your vbulletin savvy, create a test board and fool around with your idea. You might loose a bit of time, but you will learn a few new things. Never try an implementation like this on your production site until it has been extensively tested. If this all seems difficult, then you need to examine what you are doing.

Here is a couple of threads on the subject.
https://vborg.vbsupport.ru/showthread.php?t=220237
https://vborg.vbsupport.ru/showthread.php?t=312951

Reply With Quote
2 благодарности(ей) от:
CAG CheechDogg, RichieBoy67
  #5  
Old 10-23-2014, 05:29 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Honestly, its overly complex for very little payoff.
Reply With Quote
3 благодарности(ей) от:
CAG CheechDogg, RichieBoy67, tbworld
  #6  
Old 10-23-2014, 04:54 PM
too_cool_3's Avatar
too_cool_3 too_cool_3 is offline
 
Join Date: Sep 2007
Location: ON, Canada
Posts: 108
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery View Post
Honestly, its overly complex for very little payoff.
My reasoning behind this is because my forum is currently on a vBulletin optimized host ($$$). The forum is running great and takes up very little space itself. However, the attachments (mostly all pictures) are starting to climb and occupy a lot of space on the server.

I was thinking if I could move just the attachments to a cheaper shared host (e.g. Bluehost shared hosting offers 100GB of storage for only ~$3.50/mo) then I can save myself quite a lot of hard-earned money instead of bumping up to the next tier with my current host - I really don't need any of the extras or performance it comes with besides the added space.
Reply With Quote
  #7  
Old 10-23-2014, 05:21 PM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by too_cool_3 View Post
My reasoning behind this is because my forum is currently on a vBulletin optimized host ($$$). The forum is running great and takes up very little space itself. However, the attachments (mostly all pictures) are starting to climb and occupy a lot of space on the server.

I was thinking if I could move just the attachments to a cheaper shared host (e.g. Bluehost shared hosting offers 100GB of storage for only ~$3.50/mo) then I can save myself quite a lot of hard-earned money instead of bumping up to the next tier with my current host - I really don't need any of the extras or performance it comes with besides the added space.
You will lose much of the pay off from being on a "Vbulletin Optimized" host by having your attachments remotely hosted. I understand why you would do it but you may be better just upgrading your server or pay for more space with them.
Reply With Quote
Благодарность от:
tbworld
  #8  
Old 10-24-2014, 12:01 AM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You have to some how move the attachments over there. Then figure out how to serve them from there. Which means somehow replicating the database to the other machine, or allowing remote connections to your current database whish is pretty bad.

You're bandwidth is going to double/triple in just dealing with moving the attachments around alone.
Reply With Quote
  #9  
Old 10-24-2014, 12:33 AM
tbworld tbworld is offline
 
Join Date: Oct 2008
Posts: 2,126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by too_cool_3 View Post
I really don't need any of the extras or performance it comes with besides the added space.
Sometimes you can just request additional storage for a cost per gigabyte. They usually charge a fee for the adjustment plus the additional storage cost per month.

Reply With Quote
Reply


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 08:29 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.04151 seconds
  • Memory Usage 2,254KB
  • Queries Executed 11 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (6)post_thanks_box_bit
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (3)post_thanks_postbit
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)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_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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete