how to backup Linux system

Discussion in 'Technical' started by rebeltaz, Jul 25, 2008.

  1. rebeltaz

    rebeltaz New Member

    Can someone point me to a tutorial or tell me how I go about backing up an entire Linux system? I need to back up my web server before something happens...
    ________
    easy vape
    ________
    Ford Pronto History
     
    Last edited: Mar 19, 2011
  2. falko

    falko Super Moderator Howtoforge Staff

  3. rebeltaz

    rebeltaz New Member

    I looked at all of those and picked "Back Up/Restore Hard Drives And Partitions With Ghost4Linux." I think that one looks closest to what I am trying to do. I assume that it doesn't matter whether the FTP server is Linux or Windoze based does it?

    My current FTP server is running on the same system that I am trying to back up! Kind of defeats the whole purpose doesn't it? I either have to install an FTP server on one of my current Windoze systems or I have to build yet another system on it and install Linux just to act as an FTP server!
     
  4. falko

    falko Super Moderator Howtoforge Staff

    That's right. :)

    Yes.
     
  5. jiggleo

    jiggleo New Member

    back-up linux

    here's one for ya. using root access, tar cvpzf backup.tgz --exclude=/proc --exclude=/lost+found --exclude=/backup.tgz --exclude=/mnt --exclude=/sys /
    To restore use: tar xvpfz backup.tgz -C /
     
  6. gsilvestro

    gsilvestro New Member

    2q

    These are actually 2 questions!
    One is about a backup of the full linux system and one
    is about a backup of a web server.

    Web quick answer:

    You should know where your web stuff are.
    If not a good guess is (Fedora): /var/www
    or on others even: /srv
    Do:
    tar -czvf webserver.[date].tar.gz /var/www
    cp webserver.[date].tar.gz [in a safe place]

    Do also (in case you changed defaults):
    tar -czvf webserverconf.[date].tar.gz /etc/httpd
    cp webserverconf.[date].tar.gz [in a safe place]

    Assuming you reinstall it on a new system
    I would trust backward compatibility for the
    core web pages. I would indeed check
    the configuration files.

    Quick Full linux backup "not" answer.
    This backup will depend a lot on your
    porpoises. Why do you need it and what for?

    2 examples:

    Machine at home which acts as a web server
    for some stuff.
    You do not need to backup linux, just backup the data.
    You might want to save indeed information on
    some specific drivers! Just in case you spent a night
    configuring the sound card. Or check out an old
    software you might still need.

    Dedicated machine to a sensible software:
    I guess it is not the case. There you will have
    much more troubles with the hardware that
    linux will simply be a pleasure!

    What do you actually need to backup?
    In which bad scenario?

    best
    S
     

Share This Page