Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th February 2006, 07:36
jeremy jeremy is offline
Junior Member
 
Join Date: Feb 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default How of create an automated backup of system+files

I am running FEDORA CORE 4 on a HP Proliant ML350 server. CPU provide additional HDD slots, so i would like to create a complete bootable system + file backup so in the case of a HDD failure i can reboot and restore the server at no significant loss.
I read the HOW TO's on creating a backup system image, but i assume this is only relevant in restoring a 'perfect' system image to a failed system, so of course this is assume that the hardware (HDD) is fine. In my case I want to protect against possible hardware failure.
Does anyone have any ready-made "How-to's" or links you can provide. I must point out that I am very new to this level of system admin.
Reply With Quote
Sponsored Links
  #2  
Old 16th February 2006, 07:42
ryoken ryoken is offline
Member
 
Join Date: Feb 2006
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Lightbulb

for a complete and bootable copy of your main hdd, i suggest you setup a raid1 mirror. basically, the 2nd hdd will be an exact replica of the 1st/main hdd. if your 1st hdd dies, the 2nd hdd will automagically take over.

note that this IS NOT a backup solution. if you want backups, you will need something like amanda (for daily, weekly, monthly backups), or rdiff-backup (but u will need to bake your own scripts based on your needs).
Reply With Quote
  #3  
Old 16th February 2006, 08:37
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,788
Thanks: 840
Thanked 5,611 Times in 4,422 Posts
Default

Quote:
Originally Posted by jeremy
Does anyone have any ready-made "How-to's" or links you can provide. I must point out that I am very new to this level of system admin.
Maybe these howtos help you. I use them for backup and server repliaction:

http://www.howtoforge.com/howto_linux_systemimager
http://www.howtoforge.com/dedicated_...e_systemimager
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #4  
Old 16th February 2006, 10:08
ryoken ryoken is offline
Member
 
Join Date: Feb 2006
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Thumbs up

cool... ghost for linux
ill definately keep this in my toolkit!
Reply With Quote
  #5  
Old 16th February 2006, 11:13
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
Default

Quote:
Originally Posted by ryoken
if you want backups, you will need something like amanda (for daily, weekly, monthly backups), or rdiff-backup (but u will need to bake your own scripts based on your needs).
If you want rdiff-backup, have a look here: http://www.howtoforge.com/linux_rdiff_backup
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #6  
Old 16th February 2006, 11:33
jeremy jeremy is offline
Junior Member
 
Join Date: Feb 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok, ryoken have been browsing the tutorials on RAID and i believe you are correct, RAID-1 sounds seems to be the solution. Now after sifting through the online tutorials i have struck a minor concern. Which? tutorial is applicable. I am very much over my head here so recognising that my meddling may result in data loss im a little cautious to proceed, I have done linux installation and rudamentry networking and server admin, but partitioning(after installation) and RAID is a very grey area.

the two most detailed tutorials i have found
http://www.tldp.org/HOWTO/Software-RAID-HOWTO-5.html
http://www.linuxhomenetworking.com/linux-adv/raid.htm

my system looks like this
[root@mylinux ~]# fdisk -l

Disk /dev/sda: 72.8 GB, 72839168000 bytes
255 heads, 63 sectors/track, 8855 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 8855 71023365 8e Linux LVM

Disk /dev/sdb: 72.8 GB, 72839168000 bytes
255 heads, 63 sectors/track, 8855 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 8855 71127756 8e Linux LVM
[root@mylinux ~]# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
135629888 18940244 109688764 15% /
/dev/sda1 101086 14217 81650 15% /boot
/dev/shm 517272 0 517272 0% /dev/shm
[root@mylinux ~]#

i have 2 physical 80gb hard drive which i want to mirror. ( i notice that in the tutorials the partitions are refered to hdxx where as on my system they are sdxx is this a distro thing? are the tutorials still applicable? any advise?
Reply With Quote
  #7  
Old 16th February 2006, 12:18
ryoken ryoken is offline
Member
 
Join Date: Feb 2006
Posts: 33
Thanks: 0
Thanked 0 Times in 0 Posts
Post

those 2 tutorials explain the general gist of software raid on linux extremely well. i assume you want something which is more step-by-step. if this is the case, it will be very distro-specific. please let us know what distro you are using. having said that, software raid in linux (provided by md) is pretty standard across all linux distros... so you can probably adapt the instructions even if your distro is different.

before continuing further, ill answer your last question. /dev/hdx is generally idicates that the device is IDE/Ultra ATA. /dev/sdx generally indicates a SCSI or Serial ATA device. this is the general rule of thumb for linux 2.6 kernels. for linux 2.4 kernels, Serial ATA devices could be shown as /dev/hdx.

to setup raid1 on your computer, you will need to decide if you want to use hardware RAID (if available - please let us know what hardware u are using, eg. motherboard with on-board raid, or 3ware PCI-X card?) or software RAID provided by Linux.

there are advantages and disadvantages with both options. you will need to decide for yourself - but a lot of information is out there on the web. please let us know what you have decided. don't forget to mention your hardware specs and the distro you're using.

once we have more info, we can continue further...
Reply With Quote
  #8  
Old 16th February 2006, 13:46
jeremy jeremy is offline
Junior Member
 
Join Date: Feb 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi ryoken thanks for your support
my distro is
Fedora Core 2.6.11-1.1369_FC4smp
my hardware I'm not so familiar with as it is an out-off-the-box HP Proliant ML350 Server (i am still trying to figure out the spec's)
Reply With Quote
  #9  
Old 16th February 2006, 13:49
jeremy jeremy is offline
Junior Member
 
Join Date: Feb 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

ryoken - I am learning from the HP website that the Proliant server has Raid support, however i am unable to conclude whether the support is pre-installed prior to shipping since the server did come with a Installation CD and i have been informed by the person who installed the Fedora OS that they DID NOT install anything from the HP Installation cd. Therefore i am unsure if there is any built in support or not, is there any way of checking what has already been installed?
Reply With Quote
  #10  
Old 16th February 2006, 14:01
jeremy jeremy is offline
Junior Member
 
Join Date: Feb 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

according to HP the Proliant ML350 does have RAID hardware support
http://h18006.www1.hp.com/products/s...ver/index.html

Quote:
Features & benefits:
Smart Array 642 (SCSI models) or 6 port SATA (SATA models) hardware RAID controller: Allows customer to set up RAID protection on storage for better levels of availability and provides better performance than software based RAID schemes.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Server Backup mphayesuk Server Operation 10 21st December 2007 13:41
backup system mwebb Installation/Configuration 1 18th January 2006 18:56
Backup files windows <-> linux namit Server Operation 3 5th January 2006 19:30
Backup? ctroyp Installation/Configuration 7 28th December 2005 12:33
Server Backup mphayesuk General 1 14th November 2005 17:33


All times are GMT +2. The time now is 19:39.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.