Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > General > Big Board Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Database Vs File System Details »»
Database Vs File System
Version: , by DieselMinded DieselMinded is offline
Developer Last Online: Dec 2019 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 05-08-2007 Last Update: Never Installs: 0
 
No support by the author.

How Should I store Items ?

And where do i select the path ?

If i Click attachment Storage type it just asks if i want to move items from the database to the file system ...well OK but where do i set the file paths and ect I know they have to be chmoded 777 i can do this ,

So I need to create Folders on the sever for Avatars , Ect..ect.... and chmod them 777 then set the path (SOMEWHERE?) then click move items from server to file system , now how are these backed up ? i just sync with my local computer and store the images on an external harddrive here ?

I want to keep my sql clean Tell me how/if i should do this Please

DM

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 05-08-2007, 08:17 PM
briansol's Avatar
briansol briansol is offline
 
Join Date: Apr 2006
Location: CT
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

file system is more efficient at storing files, but it makes backups a little more difficult, and keeping items secure (ie, you can browse to the folder) is sometimes an issue.

That said, i use the file system, and would never consider the databaste for images, ever, under any circumstances.

you can make the folder where ever you want. I use "/uploads/" on most my sites.

to back up, yes, just FTP in, and download... or, get a server with a NAS option backup, and SSH in and set your backup task to point to the nas /sda6 or whatever it may be.
Reply With Quote
  #3  
Old 05-08-2007, 09:40 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Where DO I set the path ?

Then I need to Chmod 777 an uploads folder on the sever then i can click move to files ..Right?
Reply With Quote
  #4  
Old 05-09-2007, 03:19 AM
briansol's Avatar
briansol briansol is offline
 
Join Date: Apr 2006
Location: CT
Posts: 254
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when you select to do the change, it will prompt you.

for me, i use:

/home/MYSITE/public_html/uploads

and yes, 0777
Reply With Quote
  #5  
Old 05-09-2007, 08:57 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How often do you move the files ?
Reply With Quote
  #6  
Old 05-09-2007, 08:59 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you mean backup.....I do it on my site at LEAST once a week. Sometimes more
Reply With Quote
  #7  
Old 05-09-2007, 11:03 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

My server Guys told me the database is Backed up every night , Is there something addionally you do ?

If I move the Items from the database to files then once a week i need to go in and click move to files right?

DM
Reply With Quote
  #8  
Old 05-09-2007, 11:04 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DiesellMinded View Post
My server Guys told me the database is Backed up every night , Is there something addionally you do ?

If I move the Items from the database to files then once a week i need to go in and click move to files right?

DM
Yes. I would also have a database backup of your own on your hard drive made at least once a day
Reply With Quote
  #9  
Old 05-09-2007, 11:19 PM
DieselMinded's Avatar
DieselMinded DieselMinded is offline
 
Join Date: Mar 2007
Posts: 1,655
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you Guide me on how to Back the database up on my computer ? Do I do this through the Control panel at the server ?

Also My Host wont install GB or Image Magic Or Give me a dedicated sever so i will be moving after the first of the year is this a huge deal?

And Thanks I will set up a folder Chmoded 777 on file path /backup

Which would be just a back up folder on the main index right?

Sorry for the questions things are going good for my site and i just want to secure the future

DM
Reply With Quote
  #10  
Old 05-09-2007, 11:21 PM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DiesellMinded View Post
Can you Guide me on how to Back the database up on my computer ? Do I do this through the Control panel at the server ?
Admincp > Maintenance > Database Backup
Quote:
Originally Posted by DiesellMinded View Post
Also My Host wont install GB or Image Magic Or Give me a dedicated sever so i will be moving after the first of the year is this a huge deal?
No. Just transfer all of your files over and make sure you have a backup of the database and restore the database to the new host
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 10:18 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.14456 seconds
  • Memory Usage 2,291KB
  • Queries Executed 23 (?)
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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • 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