Linux system backup

Posted on 2006-04-20
Last Modified: 2013-12-16
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.
Question by:mademba
    LVL 15

    Accepted Solution

    There is no 100% equivalent of mksysb in Linux.

    tar is probably the easiest way, man tar is your document.
    LVL 19

    Assisted Solution

    As m1tk4 said, there is no equivalent of mksysb for linux (shame!)

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


    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.


    LVL 22

    Assisted Solution

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

    Assisted Solution

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


    LVL 5

    Assisted Solution

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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    The purpose of this article is to demonstrate how we can use conditional statements using Python.
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now