LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-07-2012, 10:54 AM   #1
rjnlinux
Member
 
Registered: Sep 2009
Posts: 41

Rep: Reputation: 0
backup of server


I want to backup my server.
This is a brand new server and I tried clonezilla but it failed

I am trying to get a full backup where - I pop in a disk and reboot the server and the o/s on the disk comes into play and I am able to backup the hard disk

This is a Raid 5 configuration and could you please guide me to some enterprise level backup software either paid or free

Is this popularly called Bare metal backup
 
Old 12-07-2012, 09:06 PM   #2
notsure
Member
 
Registered: Jun 2012
Location: Detroit
Distribution: Arch x86_64
Posts: 109

Rep: Reputation: 9
I would try and get clonezilla to work. I'd venture a guess and say the RAID is not being identified. What are the details on the RAID? Onboard? Add-in card? What kind?
 
Old 12-10-2012, 10:56 AM   #3
rjnlinux
Member
 
Registered: Sep 2009
Posts: 41

Original Poster
Rep: Reputation: 0
well..This is a brand new DL380p Gen8 server
No clue as to which version of Raid controller card is on board
 
Old 12-10-2012, 11:10 AM   #4
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 14,977

Rep: Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672Reputation: 2672
Quote:
Originally Posted by rjnlinux View Post
I want to backup my server.
This is a brand new server and I tried clonezilla but it failed
Well, unless you tell us what it did, and provide details, we can't help.
Quote:
I am trying to get a full backup where - I pop in a disk and reboot the server and the o/s on the disk comes into play and I am able to backup the hard disk This is a Raid 5 configuration and could you please guide me to some enterprise level backup software either paid or free Is this popularly called Bare metal backup
Yes, it is. There is also mkcdrec, systemimager, and mondoarchive, all of which do this and are free. I'd go for mondoarchive personally, if you want to stick with free software. Commercial software tends to be a bit pricey for such things.

Last edited by TB0ne; 12-10-2012 at 11:15 AM.
 
Old 12-13-2012, 10:50 AM   #5
rjnlinux
Member
 
Registered: Sep 2009
Posts: 41

Original Poster
Rep: Reputation: 0
Say I have a HDD of 300 GB (sda) which I partition as follows
a) / 50 GB (/dev/sda1)
b) Swap 50 GB
c) boot 500 MB
d) remaining (/dev/sda2)

Now I take backup of each /dev/sda1 and /dev/sda2

The /dev/sda1 is 10 percent used and /dev/sda2 is 4 percent used

Now if I use PING or clonezilla to backup only the partitions sda1 and sda2
and If I replace the HDD of 300 GB with 290 GB
will clonezilla / PING be able to restore the partitions considering that
the space on the new sda1 and sda2 is a little less than original ....
But considering that usage is 10 percent and 4 percent ...does it matter ?
 
Old 12-21-2012, 07:23 PM   #6
rjnlinux
Member
 
Registered: Sep 2009
Posts: 41

Original Poster
Rep: Reputation: 0
This is what I found

Clonezilla is available in two models
32 bit and 64 bit amd (amd 64 bit is also suitable for intel 64 bit)

However both the above do not work for me.

My drive is configured with physical disk/ logical volume manager lvm2


So To solve the issue I am trying the following
I downloaded a number of Linux Live CD's
none of them worked with the commands

pvscan, vgscan, vgdisplay, lvdisplay

only one of them Knoppix works with the above commands

so I am using Knoppix Live cd 6.7.1 2011-09-14 English version

I booted the server with the Live cd hence ensuring that the storage array disks (Raid 5)
are not being used....so No open files
Next I ran the following commands


pvscan - this scans for physical volumes
vgscan - this scans for logical volumes

I saw that the logical volumes are inactive
I ran the following command
vgchange -a y (this will make all logical volumes active)
next I mounted the external HDD

dd if=<logical Volume name> | gzip > <path of external hdd>/image.gz

in my case the exact command was

dd if=/dev/vg_proddb12/lv_home | gzip > /home/extdisk/back_20121221_dd/image_home.gz

I hope you guys comment on my solution.

It has been a long struggle to understand stuff.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
backup remote server -Problem in reaching nas server using sshtunnel sanjay87 Linux - Server 0 10-04-2012 03:45 AM
how can backup a remote server(only folder needed) with ftp ,daily backup? ahjafari Linux - Newbie 1 10-26-2011 05:04 PM
What is the best backup method to make a backup of a running Ubuntu server ? pmorin Linux - Software 9 09-28-2011 08:12 AM
Server configuration for small office server, which smtp, pop imap server and backup whitelinux Linux - Server 4 04-06-2010 12:26 PM
Using RSync to backup a secondary off-site backup server pezdspencer Linux - Software 4 06-29-2007 04:40 PM


All times are GMT -5. The time now is 03:09 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration