[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2215
  • Last Modified:

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.
5 Solutions
There is no 100% equivalent of mksysb in Linux.

tar is probably the easiest way, man tar is your document.
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.


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

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:

# 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");


u can try with rsnapshot a nifty tool for remote backup system, visit www.rsnapshot.org

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now