What is Rsync ( Remote Sync ) in Linux

Hi,

I will explain What is Rsync ( Remote Sync ) as nd How To Use Rsync to Sync Local and Remote Directories in this article.

 

 

Rsync

 

Rsync ( Remote Sync )

Rsync is my favorite command that being developed by Wayne Davison and an open source utility that performs incremental file transferLatest Rsync version 3.1.3 is released.

Rsync (Remote Sync) is used for copying and synchronizing files and directories remotely and locally in Linux/Unix systems.

You can copy and synchronize your files remotely and locally across directories, across disks and networks, perform data backups and mirroring between two Linux/Unix machines.

 

 

Rsync is faster than scp ( secure copy ) because rsync provides incremental file transfer using remote-update protocol which allows to transfer just the changed blocks.

You can transfer and syncronized backup files to the Remote server for disaster purpose using rsync.

For example, execute following command to transfer all contents of /u01/backup to the 192.168.63.63 server for the first time.

rsync -av --delete --inplace /u01/backup/* 192.168.63.63:/u01/backup/ --rsync-path=/usr/bin/rsync > /tmp/rsync.log

 

 

If it is completed, then you can use it twice to syncronized two server with changed blocks.

rsync -av --delete --inplace /u01/backup/* 192.168.63.63:/u01/backup/ --rsync-path=/usr/bin/rsync > /tmp/rsync.log

 

Rsync is very practical and powerful during database and application migration. Because transfer all data for the first time, then if you run it again, it will transfer only changed data or differences.

 

 

Do you want to learn Linux System Administration for Beginners, then read the following articles.

GNU/Linux Administration Tutorial For Beginners

About Mehmet Salih Deveci

I am Founder of SysDBASoft IT and IT Tutorial and Certified Expert about Oracle & SQL Server database, Goldengate, Exadata Machine, Oracle Database Appliance administrator with 10+years experience.I have OCA, OCP, OCE RAC Expert Certificates I have worked 100+ Banking, Insurance, Finance, Telco and etc. clients as a Consultant, Insource or Outsource.I have done 200+ Operations in this clients such as Exadata Installation & PoC & Migration & Upgrade, Oracle & SQL Server Database Upgrade, Oracle RAC Installation, SQL Server AlwaysOn Installation, Database Migration, Disaster Recovery, Backup Restore, Performance Tuning, Periodic Healthchecks.I have done 2000+ Table replication with Goldengate or SQL Server Replication tool for DWH Databases in many clients.If you need Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS Consultancy and Training you can send my email adress [email protected].-                                                                                                                                                                                                                                                 -Oracle DBA, SQL Server DBA, APPS DBA,  Exadata, Goldengate, EBS ve linux Danışmanlık ve Eğitim için  [email protected] a mail atabilirsiniz.

One comment

  1. Hi,

    I’ve been visiting your website a few times and decided to give you some positive feedback because I find it very useful. Well done.

    I was wondering if you as someone with experience of creating a useful website could help me out with my new site by giving some feedback about what I could improve?

    You can find my site by searching for “casino gorilla” in Google (it’s the gorilla themed online casino comparison).

    I would appreciate if you could check it out quickly and tell me what you think.

    casinogorilla.com

    Thank you for help and I wish you a great week!

Leave a Reply

Your email address will not be published. Required fields are marked *