What you need to back up on Linux to recover

last updated in Categories

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.

Advertisements

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.

ADVERTISEMENTS

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.