Cloning & Disaster Recovery for FreeBSD 5.x

rndinit0

Verified User
Joined
Jan 15, 2005
Messages
91
Here is what I want to achieve:

Full Backup of DA server
Restore from bare metal
Incrimental Backup: weekly
Store backups by month

All of that remotely.

Any ideas ?

(hopefully using open source solutions) or affordable ones... *grins*
 
tar

It was designed for making "Tape ARchives"; hence the name.

However you'll have to create the scripts yourself.

The manual is at "man tar".

I'm not sure how you'd do it from bare metal, though, with FreeBSD. With linux you could start by booting with something like Knoppix and then automating the restore procedure from there.

Don't forget if you're going to use incremental backups then you'll have to restore first the main backup and then all the increments because you won't have any idea what's gotten changed when.

And you'll probably end up restoring deleted files unless you use a commercial package that keeps track of delete information for later restore.

Jeff
 
Hey Jeff,

I am just interested in know that what procedure should I follow to backup a server such that we can use the backup for restoring the whole server in the event server dies.

So what is the best way we can create an image or something of a server and then be able to use that to recreate a new server, if the old server dies.

We can backup individual files and directories and restore them, but what should be done to prepare a server for disaster recovery.

Thanks in advance for help.

Regards
 
What you want to do is called bare-metal restore. There's probably as many ideas for it, and procedures for it, as there are admins doing it.

The problem is I've never automated it, so I'm not one of those admins.

Try google ;).

Jeff
 
You're welcome.

Today I found in the latest issue of Web Host Industry Review, an advertisement for R1Soft; a backup software company that advertises both Bare-Metal restore and DirectAdmin support. You might want to check on what they have to offer, and report back to us :) :

http://www.r1soft.com

Jeff
 
A few years ago they were trying to sell me on using their products (I ran into them at an ISP show).

Maybe I should ask them for a demo copy :).

Jeff
 
Thanks Jeff.

Your wasting your time and resources backing up a complete server. This is not necessary. You can also get a OS restore if need be, thats the easy part. You should be concerned with backing up user data and nothing more. This can be accomplished using rsync via compession to another server setup via a cron job. I see many people setting up DA's save procedure to do offsite FTP's. This is another complete waste of time. If something happens during the FTP session you loose all not too mention how insecure it is.

Rsync is your answer. If you are worred about your data, you should contact somebody who has alot of experience in this kind of procedure.
 
Perhaps pucky, but I could see using it if either it uses something like rsync, or perhaps to use it just once, when the server is first built, so as to make new and even re-installs easier, and then re-upload site backups.

As far as using DA to upload to offsite systems via FTP, all I can say is that we run a cronjob on our backup server to automatically maintain several backups at the same time; DA never overwrites, so we never risk losing all.

But that's just us of course ;).

Jeff
 
Back
Top