Data backup is a prime task for any enterprise or another IT based organization. The data backup will act like your life saviour in case of any disaster. There are a number of fancy tools in market which claim to take secure backup. But a true Linux Administrator would like to go with the tradition backup software. Sometimes paid software get data backup in the form of encryption, which can not be restore easily. The data can store in some traditional hard disk or in some usb stick or even in External drive. You can schedule some cron job to get backup on some defines place or can schedule a regular data backup manually. In this article we will learn to utilises some of the famous tools available to get a reliable data backup.

popular Backup tools For Linux Users

We will be using CentOS and ubuntu platform for demo, a usb stick will be used to act as external data backup drive, tar, rar, rsync, bacula etc are some of the famous tools which are used for compressing and getting data saved to some secure drive or location, let us discuss few of them one by one.

Data backup with rsync

Rsync  is a robust and dynamic Linux command line utility. It can be used to get incremental backup on local server or even on remote location using ssh.

Install package on CentOS

Install package on Ubuntu 16.04 or earlier version

Get complete backup of /etc/ drive in /mybackup example drive, -r option enable recursive mode.

# rsync -rv /etc/ /mybackup

Avoid duplicate data copy with -u option.

Sample output

To get data backup on remote Linux  storage, rsync can be use with ssh.

Generate ssh-key, keep passphrase empty

Copy key to remote host, replace your user and ip address.

Try to synchronize data with rsync now on remote host, it will not ask for a password.

Install rsync GUI version in Ubuntu

Install in CentOS

 

Just like cli, you can get data back up on a local or even remote location.

selection_069

Backup using ssh session

selection_071

 

In addition to rsync there are some another cli tools which can be helpful in getting the backup of your systems. I wold like to discuss the dd command as next.

Data backup with dd command line utility

dd command line utility is another important tools which is used so often by system administrators. Let us have some examples. We have a drive attached with the server  to get the backup.

# fdisk -l

Sample output

Let us get the backup of entire system to this hard disk.

To restore that backup

Get backup of  a partition  in the form of image.

Create Linux archive using tar command

The another method used for getting backing is tar. With tar we get get a quick data backup.

Create archive with tar, -c option will create archive, -v for verbose, -r for recursive.

Extract data

Use -z option to get data compressed in .zip format.

To get data interactively use -w option, you will be asked to add every every object in archive one by one.

Use Filezilla to get backup in Linux

Filezilla is one of the most famous tool with has been used since a long time by system/Linux Administrators. It is a ftp server/Client tool which enable users to provide a secure ftp data transfer method which could be used to get data transfer from any remote site.With this tool you can get backup of entire website without any hasel.

Download package

For CentOS

Use cloud tools to have a safe backup

Using Open source cloud tools can be a safe method of backing up data, there are lot of platform available. There are some really beautiful cloud tools available in Linux as Open Source. Some of them are  discussed.

Open Nebula

Open Nebula is an Open source Cloud tool, we will devote a full article on how to install Nebula in Linux in upcoming articles. It is easy to install, easy to manage but robust and secure cloud platform, which is been practiced by most of the famous enterprise today. It can be easily integrated with MySQL and LDAP. Totally platform independent, can be run on all of famous Linux distributions. A cloud can be built using KVM, Vmware, Xen.

Official Website: https://opennebula.org/

Owncloud

OwnCloud is another file hosting server. It is an Open Source platform with you can use to synchronize data, video file, or other media files. File got encrypted during transfer or even at rest. Can be install easily on almost all of the available Linux platforms.

Official Website: https://owncloud.org/

Seafile

Seafile is another example of private cloud, in place of commercial cloud platform sefile user can determine their own storage space without paying any extra charge, it can be a secure way to get backup of your data. Easy to deploy and totally platform independent solution.

Official Website: https://www.seafile.com 

These were some of the easy to use and popular methods of getting data backup. We will discuss some of the Cloud/Centralized file management tools in upcoming articles. Have Fun!!

SHARE

LEAVE A REPLY

Please enter your comment!
Please enter your name here