Linux system backup

Hi everybody,
I'm asking if there are  tools (free or not) to do system backup like AIX mksysb on linux.
I'll also glad to have links to documents dealing with that.
Thanks!!
madembaAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

m1tk4Commented:
There is no 100% equivalent of mksysb in Linux.

tar is probably the easiest way, man tar is your document.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
joolsCommented:
As m1tk4 said, there is no equivalent of mksysb for linux (shame!)

Try some of the following, you said free or not right!

BRU: http://www.tolisgroup.com/
Storix: http://www.storix.com/
Amanda: http://www.amanda.org/

Obviously there are the usual utilities, I just use tar to a network harddisk and can recover by bootin into rescue mode then copying the archives back, it's a very manual process but free.

I have some customers using BRU and some using Storix, both are quite good. I believe BRU has a CRU which allows you to boot your linux system and recover a BRU backup, not sure what this is like, some of these utilities worked on older servers, but barf'd if they found SCSI cards they didn't recognise.

Not had experience of Amanda, I dabbled ages ago but found it over complicated for my tiny mind.

HTH

J
0
pjedmondCommented:
Here is a nice collection of backup utilities. One may be of interest to you? :

http://www.linuxlinks.com/Software/Backup/
0
martinCommented:
Here's what I use for root partition backup.

Disk space is cheap, so I have a large hard drive, so I set up everal spare root partitions called /root2, /root3 and /root4. Each has its own /etc/fstab, these are saved in /etc/fstab1 to /etc/fstab4.

I set up lilo so that I can boot from any partition. Then with the script below I can very quickly backup up the root. If I break something by messing about, I just boot off the last backup and restore the main root with BACKUP 1

Here is the BACKUP script:

#!/usr/bin/perl
# Backup a root partition
# For initial creation of the partition use:
#
# cd /; tar cpf - --one-file-system . | ( chdir /root2 ; tar xpBf - )
# makedev /root2/dev
#

use strict;
use warnings;
use File::Copy "cp";

(my $myname = $0) =~ s|(.*/)*||;        # strip path component from name
my $Usage = "Usage: $myname [1234] \n";
# Check exactly one argument
die $Usage if ($#ARGV != 0);
die $Usage if $ARGV[0] !~ /^[1234]$/;

my $n = $ARGV[0];

if (-f "/root$n/BACKUP") {
  print "/root$n already mounted\n";
} else {
  system "mount /root$n";
  die "mount /root$n failed: $!\n" unless -f "/root$n/BACKUP";
}

# New version using rsync (handles more stuff, including devices):
# NB: /dev appears mounted on a different filesystem,
# so we delete the backup, copy everything else, and then restore it:

system "rm -rf /root$n/dev";
system "rsync -axvH --delete / /root$n";
system "cd /dev; tar cpf - . | (cd /root$n/dev; tar xpf -)";
cp("/root$n/etc/fstab$n", "/root$n/etc/fstab");

exit(0);


0
ranadastidarCommented:
u can try with rsnapshot a nifty tool for remote backup system, visit www.rsnapshot.org
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.