[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Simple disk to disk copy for easy recovery after drive failure

Posted on 2007-11-30
12
Medium Priority
?
281 Views
Last Modified: 2010-04-21
I have a rented server at a hosting company.  If the mother board dies they will replace it.  If the disk dies they will replace that too.  What they won't replace is all the work that I have done to configure it.

I am interested in suggested solutions to a means of fairly rapid recovery after a catastrophic drive failure that requires a new drive.  

I thought that the simplest solution maybe a second disk to which I make an image copy on a regular basis, or better still update the image incrementally, periodically.  I can stick a second drive on the server for very little money.

Does this make sense as a solution or is there a better one?  Also, if this is the solution, then what software should I use to generate my backup?

I would like to add to this the ability to have a similar backup HERE, over the network.  This way if I needed a major move I could do that too.
0
Comment
Question by:jhurst
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
  • 3
  • +1
12 Comments
 
LVL 2

Accepted Solution

by:
SwassLikeMe earned 280 total points
ID: 20383675
This totally depends on the amount of data we're talking about and the monthly allocated bandwidth you have with your hosting company.  Usually they consider backups to be part of the monthly transfer you have allocated to your account.

I would go with a second drive.  It will save you a lot of headaches.  That said, you'd still want a backup of your data locally (prior to publishing to the website).  If it fails, you can always copy your data back.

What type of access are you given to your webserver?
0
 
LVL 88

Expert Comment

by:rindi
ID: 20383716
DD or partimage, which is included on most LiveCD's would be good tools for that, but you'd need someone at the place where the server is to run either. Of course you can also run DD from your distro, but the partitions shouldn't be mounted, so again you'd require someone there to do it.

A good backup tool which will backup mounted partitions is rsync, but here you'd have to wait until the server is reinstalled, then restore your data.

http://samba.anu.edu.au/rsync/
0
 
LVL 8

Author Comment

by:jhurst
ID: 20383853
Swass... - I have complete access to the server.  It is sort of mine.  Root, etc.  You are indeed correct that if I backup across the net it will use some of my bandwidth, as it happens that would be fine if only incremental.  But this is why I thought of the second disk.

So the question remains for you, if the disk is the way to go.  What software and will it be easy to restore/backdown if needed.

rindi - if I go the rsync way will I be able to back down even everything.  Right now I have: / and /boot in use.   Is what you are saying:
1) backup / using rsync

After a failure
1) get the host company to install a new drive and get the OS on there
2) restore /

Is it really as simple as that?  If so GREAT!
0
Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

 
LVL 2

Expert Comment

by:SwassLikeMe
ID: 20384160
If you have a second disk, I would look at doing mirroring rather than simply using it as a second, independent disk.  Potentially you could have an issue that would require costly intervention from them if they were not mirrored, as you'd be really unable to boot from a simple backup disk.  Mirroring is accomplished by software RAID in Linux, or by hardware RAID if they actually have a hardware RAID controller in the system.

If you did want to send your data across the wire to your home/business system for backup purposes, I would recommend using something like rsync.  You can set this up securely, and have it do incremental block level changes, rather than shipping everything across the wire each time.

That said, in the case of doing the rsync with the RAID option also, I would not recommend doing your whole system, but only selective data that you changed.  The hardware or software RAID would give you the ability to keep a running system, where rsync would backup your data in case it was lost.

One potential issue with rsync is that it is a synchronized copy of the data remotely.  Consequently, making a change to a file in production and performing an rsync could cause your old file to be wiped out.  You could, however, do a backup of the rsync'd data locally on your workstation for archival purposes.
0
 
LVL 8

Author Comment

by:jhurst
ID: 20384928
I am aware of rsync, should have mentioned that.  Already use it for the data on the server.

Now, I am liking this software raid idea.  Are you saying that we can actually use this to have a bootable disk ready to go and we would just need them to swap it in an we would bre ready to re-boot?  If so, this is EXACTLY what I want.

0
 
LVL 39

Assisted Solution

by:PUNKY
PUNKY earned 220 total points
ID: 20385112
Raid is not backup solution. You should have backup to external media, in daily basic backup data, and keep them in safe place for any event that cause system failure.
0
 
LVL 8

Author Comment

by:jhurst
ID: 20385192
I realize that Raid is not a backup solution - that is not what I am looking for.  As I said, I am already backing up this server using rsync to a machine that is here.  I am looking for a way that we can recover as quickly as possible after a disk crash, as the question says.  Why does RAID not achieve this punky?
0
 
LVL 39

Expert Comment

by:PUNKY
ID: 20385223
Oh, sorry I misread your posts, as you already know raid is not backup solution, and have backup using rsync, then Raid would be good for you plan. It will help to keep system running while one drive failed.
0
 
LVL 8

Author Comment

by:jhurst
ID: 20385251
So, how tough is it to add software raid to my existing machine if I stick another drive on there?
0
 
LVL 39

Expert Comment

by:PUNKY
ID: 20385304
It is not tough but depending how your experience on Linux / Fedora. Only you can figure that out on your own system, I can only suggest and provide help links such as below though.

http://www.tldp.org/HOWTO/Software-RAID-HOWTO-7.html#ss7.6
0
 
LVL 2

Expert Comment

by:SwassLikeMe
ID: 20385406
Punky is spot on, that'll do it for you.  Whoever you give credit for the answer, be sure to credit the other(s) with assists.  He certainly more quickly responded to your follow-up than I did.
0
 
LVL 8

Author Closing Comment

by:jhurst
ID: 31411962
These guys are GREAT!
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Backups and Disaster RecoveryIn this post, we’ll look at strategies for backups and disaster recovery.
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question