What you need to back up on Linux to recover

in Categories last updated August 28, 2006

Q. I am new to Linux and I would like to know what I need to back up on Linux to recover later on like directory names and other configuration issue.

A. This is a big question – What should I back up?

You need to backup user data, databases (MySQL or Oracle) and software configuration file. User data is usually stored at /home directory.

I recommend back up following directories:

  • /etc – Stores authentication data and other software configuration files
  • /home – User data and mail boxes
  • /var/log – Log files
  • A list of all installed software or applications
  • Databases – Use database utilities to backup data.

You need make full and incremental backup. Tape device is best for bulk data as well as FTP or NAS backup server.

Posted by: Vivek Gite

The author is the creator of nixCraft and a seasoned sysadmin, DevOps engineer, and a trainer for the Linux operating system/Unix shell scripting. Get the latest tutorials on SysAdmin, Linux/Unix and open source topics via RSS/XML feed or weekly email newsletter.

Share this on (or read 0 comments/add one below):