Posts

Showing posts with the label linux Rsync
Drop Down MenusCSS Drop Down MenuPure CSS Dropdown Menu

How to Use Rsync (Remote Sync) Command in Linux

Rsync (Remote Sync) is a most commonly used command for copying and synchronizing files and directories remotely as well as locally in Linux/Unix systems. With the help of rsync command you can copy and synchronize your data remotely and locally across directories, across disks and networks, perform data backups and mirroring between two Linux machines. This article explains 10 basic and advanced usage of the rsync command to transfer your files remotely and locally in Linux based machines. You don’t need to be root user to run rsync command. Some advantages and features of Rsync command It efficiently copies and sync files to or from a remote system. Supports copying links, devices, owners, groups and permissions. It’s faster than  scp  ( Secure Copy ) because  rsync  uses remote-update protocol which allows to transfer just the differences between two sets of files. First time, it copies the whole content of a file or a directory from source to destina...

How to Use Rsync to Sync Modified Files in Linux

Image
As a system administrator or Linux power user, you may have probably come across or even on several occasions, used the versatile Linux Rsync tool, which enables users to expeditiously  copy or synchronize files locally and remotely . It is as well a great tool popularly used for backup operations and mirroring. Some of its eminent features and advantages include; it is exceptionally versatile in that, it can copy locally, to/from a remote shell or remote rsync, it is also remarkably flexible, allowing users to specify any number of files to copy. Suggested Read: How to Use Rsync (Remote Sync) Command in Linux Furthermore, it permits copying of links, devices, file or directory owner, groups and the permissions. It also supports usage without root privileges coupled with many more. One imperative differential of rsync in comparison to other file-coying commands in Linux is its use of the remote-update protocol, to transfer only the difference between files or directory co...

How to Sync Two Apache Web Servers Using Rsync

There are so many tutorials available on web to mirror or take a backup of your web files with different methods, here I am creating this article for my future reference and here I’ll be using a very simple and versatile command of  Linux  to create a backup of your website. This tutorial will help you to sync data between your two web servers with “ Rsync “. The purpose of creating a mirror of your  Web Server  with  Rsync  is if your main web server fails, your backup server can take over to reduce downtime of your website. This way of creating a web server backup is very good and effective for small and medium size web businesses. Advantages of Syncing Web Servers The main advantages of creating a web server backup with rsync are as follows: Rsync syncs only those bytes and blocks of data that have changed. Rsync has the ability to check and delete those files and directories at backup server that have been deleted from the main web server. I...