Skip to main content

Posts

Showing posts from August, 2016

How to Use rsync to Backup Your Data on Linux (Courtesy: howtogeek)

How to Use rsync to Backup Your Data on Linux rsync is a protocol built for Unix-like systems that provides unbelievable versatility for backing up and synchronizing data.  It can be used locally to back up files to different directories or can be configured to sync across the Internet to other hosts. It can be used on Windows systems but is only available through various ports (such as Cygwin), so in this how-to we will be talking about setting it up on Linux.  First, we need to install/update the rsync client.  On Red Hat distributions, the command is “yum install rsync” and on Debian it is “sudo apt-get install rsync.” The command on Red Hat/CentOS, after logging in as root (note that some recent distributions of Red Hat support the sudo method). The command on Debian/Ubuntu. Using rsync for local backups In the first part of this tutorial, we will back up the files from Directory1 to Directory2. Both of these directories are on the same hard drive...