Go Back   vb.org Archive > Community Discussions > Forum and Server Management
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 06-23-2009, 02:18 PM
PhilipAlv PhilipAlv is offline
 
Join Date: Nov 2007
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default forum backup/restore question-hdd failure.

I currently use mysqldump to backup my db's daily.I download a copy of the backup to my home pc and another copy is stored in an NAS space at my host.

my db is around 325 mb and growing slowly.i have a bunch of attachments and they are stored in the database.

here is my question.suppose my hard drive stops working due to a hardware issue and i dont have a backup of the home directory,will i be able to bring my forum back ?

i do download copies of my home directory through ftp once a week.do i have to do that everyday ,just like i make copies of my mysql db's ?

thanks
Reply With Quote
  #2  
Old 06-23-2009, 02:44 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If your hard drive stops working and it can't be brought back to life at all, then your only option it to go with a backup that you have. Your host may have an option that will backup your site, or a directory on your site, to another hard drive - that may be an option for you. I actually rsync all my files offsite every night just in case something like what you describe happens.
Reply With Quote
  #3  
Old 06-23-2009, 07:35 PM
Angel-Wings's Avatar
Angel-Wings Angel-Wings is offline
 
Join Date: Sep 2007
Posts: 206
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just like said, if the HDD fails your local backups are the only useable ones - maybe better think about a worst-worst case scenario and then it depends on you if weekly backups are ok or maybe backups can be made or downloaded each day
Reply With Quote
  #4  
Old 06-23-2009, 11:15 PM
BSMedia BSMedia is offline
 
Join Date: Feb 2009
Posts: 454
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if your filesystem isn't changing much from day to day, you may consider taking a weekly/monthly filesystem backup and downloading to your home PC/NAS. Of course if your filesystem is constantly changing, a daily backup of only the new files should be done probably.

The database backup however, should be done daily and a daily off-site backup as well. (Maybe even twice daily depending on how active/important data is)

this will provide a great recovery point should the unthinkable happen.
Reply With Quote
  #5  
Old 06-24-2009, 04:24 AM
PhilipAlv PhilipAlv is offline
 
Join Date: Nov 2007
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for the replies.....if i dont install any new hacks,all the files in my /home/mysite remains the same ..right ?

what else can cause changes to the above folder ?

all my stuff is under the /home/mysite folder.
Reply With Quote
  #6  
Old 06-24-2009, 06:13 AM
BSMedia BSMedia is offline
 
Join Date: Feb 2009
Posts: 454
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Changes can occur from a few things depending on how you store attachments/sig pics/avatars and profile pictures.

If you store them in the database, then usually no file changes will occur. If you store them in the filesystem (recommended) then changes occur.

Depending on the new hacks (usually anything thats a simple .xml file upload) won't change your files.
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 01:21 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.03574 seconds
  • Memory Usage 2,203KB
  • 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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (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_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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete