![]() |
Attachemnts outside DB
Is there a hack that allows this? an attachment outside the actual database, im helping a customer and his old wm didnt installed something , so his database is 700MB!!! , its crazy.. hard time porting it over..
So is there a hack that does this, saving attachments outside database. Thanks you for your time. --------------- Added [DATE]1233007200[/DATE] at [TIME]1233007200[/TIME] --------------- i think i found where.. However , now how do i move the attachments FROM database to like some other place , yet still retaining the post and images. Thanks |
That's basic vB functionality, no need for a mod. Go to AdminCP, Attachments, the last menu entry there (dont know exact english phrasing, mine is German). Something like Save mode. There you can move the attachments from the database to the file system and vice versa.
Nothing will break if you use this. After you moved the attachments to file system, you there can move them to another folder, too. |
You need to create a folder first to move them to. Make sure to chmod it to 777 and it should be above your forum root. Then just go to Attachments > Attachment Storage Type > Move to Filesystem (or something like that) and it will ask for where and you put in the full path (/home/yoursite/attachments) and then Continue
|
ok thank you both
another quick question, will the "Current" attachments be moved from the database into the newly created folder or no? thanks |
Yes they will be moved.
|
Great stuff, thanks for the info! , hopefuly wont take years.
|
Also, you should place the attachments directory behind the web root (i.e. /home/user/attachments, not /home/user/public_html/attachments).
|
oh ,
i already moved them to pubilc_html/etc/ , if i change directories , will it also move the files once again? thanks |
Quote:
Cheers |
From the manual:
Quote:
|
All times are GMT. The time now is 03:30 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|