vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Forum and Server Management (https://vborg.vbsupport.ru/forumdisplay.php?f=232)
-   -   forum backup/restore question-hdd failure. (https://vborg.vbsupport.ru/showthread.php?t=216903)

PhilipAlv 06-23-2009 01:18 PM

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

Lynne 06-23-2009 01:44 PM

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.

Angel-Wings 06-23-2009 06:35 PM

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 :)

BSMedia 06-23-2009 10:15 PM

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.

PhilipAlv 06-24-2009 03:24 AM

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.

BSMedia 06-24-2009 05:13 AM

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.


All times are GMT. The time now is 09:37 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.01368 seconds
  • Memory Usage 1,713KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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