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 07-10-2008, 02:36 AM
TacticalNuke TacticalNuke is offline
 
Join Date: Mar 2007
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How redundant should backups be?

I have a multi-part question about back-ups:

1. Assuming all my attachments are in the database and not kept in another folder, same with avatars (I've never had to move a folder during an update to get images, so I'm assuming they are) is there any need to back up anything other than the mySQL database?

2. I run a cron job backup script every night which puts a mySQL backup on a folder in my server root, then another job to rsync that backup folder with a separate host an hour after that. Is this enough redundancy for a worst-case scenario, or should I set up an automatic sync with my home computer or some other backup solution?

3. If, hypothetically, someone hacked into my account on my shared server, couldn't they get the key generated to rsync into my backup on the separate server, or am I missing something?

Thanks for any help.
Reply With Quote
  #2  
Old 07-10-2008, 04:53 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1. You only (really) need to backuip the database, in that case. Just make sure you keep track of what modifications you have installed and make sure you have a copy of those files.

2. A "worst case" scenario would be being both servers crashing . If you add another node, the worst case scenario would be that node crashing as well. Get the point?

3. Yes.
Reply With Quote
  #3  
Old 07-10-2008, 11:06 AM
TacticalNuke TacticalNuke is offline
 
Join Date: Mar 2007
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dismounted View Post
1. You only (really) need to backuip the database, in that case. Just make sure you keep track of what modifications you have installed and make sure you have a copy of those files.

2. A "worst case" scenario would be being both servers crashing . If you add another node, the worst case scenario would be that node crashing as well. Get the point?

3. Yes.
I get all my mods from vb.org, so I should be good to go there as I mark them as installed, and I also keep copied on my home computer.

You're right about number 2, I'm just wondering if I have a sufficient level of protection. I guess nothing is really sufficient, though I think downloading onto my computer is a good idea as well.

As for number 3, is there any way to make that more secure? Obviously keeping the server safe is down to two things: my host, and my use of a complex password. But is there anything else, as it seems like the generated key is the weak link here. Shouldn't rsync also require the other (receiving) server's password (I know it doesn't from my understanding), so that if the key is compromised there's still a layer of security? I guess that may defeat the point of a key, but I'm still wondering.

Thanks for the answers, I appreciate it.
Reply With Quote
  #4  
Old 07-10-2008, 11:37 AM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Some modifications may be moved into the graveyard from time to time (eg. due to a found exploit, or the author requesting it to be removed), so you should keep a local copy of the modification files yourself.
Reply With Quote
  #5  
Old 07-10-2008, 12:23 PM
cheat-master30's Avatar
cheat-master30 cheat-master30 is offline
 
Join Date: Mar 2007
Location: Information Classified
Posts: 1,715
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've also found it a good idea to keep a copy of the vBulletin files you downloaded last when updating it so that you have a set of default files in case a mod screws up the working ones on the server. I'd also say that you might still want to backup the stuff stored in files, because while that getting deleted wouldn't stop your board running, it wouldn't be very popular for your users or for your free time uploading it and finding all the things again...
Reply With Quote
  #6  
Old 07-10-2008, 01:49 PM
TacticalNuke TacticalNuke is offline
 
Join Date: Mar 2007
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't allow member uploads and I think all my uploads are stored as part of the dB (I could be an idiot here, it's happened before). I can't find them anywhere and I didn't have to move them over during my last upgrade.
Reply With Quote
  #7  
Old 07-10-2008, 02:15 PM
Dismounted's Avatar
Dismounted Dismounted is offline
 
Join Date: Jun 2005
Location: Melbourne, Australia
Posts: 15,047
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Admin CP > Attachments > Attachment Storage Type
Reply With Quote
  #8  
Old 07-10-2008, 03:47 PM
TacticalNuke TacticalNuke is offline
 
Join Date: Mar 2007
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Dismounted View Post
Admin CP > Attachments > Attachment Storage Type
Thank you very much. I'm assuming for a small site it's okay to have them on the dB, per my reading in the vB manual, so I think I'll leave it like that for now. Plus it makes backing up much easier.

We have about 20,000 posts right now, so still pretty small.
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 05:05 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.05820 seconds
  • Memory Usage 2,229KB
  • 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
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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