What you need to back up on Linux to recover

Posted on 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 and a trainer for the Linux operating system/Unix shell scripting. He has worked with global clients and in various industries, including IT, education, defense and space research, and the nonprofit sector. Follow him on Twitter, Facebook, Google+.

Leave a Comment