Rsync is a very flexible network-enabled syncing tool. It can also refer to the network protocol developed to utilize this tool. Rsync stands for Remote Sync. Normally rsync is used to transfer file from one server (source) to another server (destination). Basic Syntax 1) Create some test files with the following commands: cd ~ mkdir […]
See MoreTag: Rsync over SSH
20+ Switches of rsync in Unix/Linux
* Switches of rsync: 1) -v, –verbose Increase verbosity. 2) -r, –recursive Recurse into directories. 3) -l, –links Copy symlinks as symlinks. 4) -p, –perms Preserve permissions. 5) -t, –times Preserve modification times. 6) -g, –group Preserve group. 7) -o, –owner preserve owner (super-user only) 8) -D Same as –devices –specials. –devices : preserve device files […]
See MoreCommand for Rsync over SSH – Unix/Linux
Command for Rsync over SSH Common Syntax for Rsync: # rsync [options] Source Destinations. Set up a secure backup with rsync + SSH of one system to the other. backup.example.com# rsync -avz –numeric-ids –delete root@myserver.example.com:/path/ /backup/myserver/ To do the backup, you have to be root on the remote server, because some files are only root […]
See More