When specifying a parameter, you can either use the form -option= param or replace the ’ =’ with whitespace. If the option takes a parameter, the parameter is only listed after the long variant, even though it must also be specified for the short. Some options only have a long variant, not a short. If an option can be specified in more than one way, the choices are comma-separated. The full list of the available options are described below. Rsync accepts both long (double-dash + word) and short (single-dash + letter) options. Rsync can also run as a daemon, in which case the following options are accepted: -daemon Log what we're doing to the specified FILEįorce an older protocol version to be used Output updates using the specified FORMAT Output numbers in a human-readable format Specify double-colon alternate port number Same as -filter='dir-merge /.rsync-filter'Īll *from/filter files are delimited by 0sīind address for outgoing socket to daemon Skip compressing files with suffix in LISTĪuto-ignore files in the same way CVS does Prune empty directory chains from file-listĭon't map uid/gid values by user/group nameĭon't skip files that match size and timeįind similar file for basis if no dest fileĪlso compare received files relative to DIR Put a partially transferred file into DIR Receiver deletes after transfer, not duringĪlso delete excluded files from dest dirsĭon't transfer any file smaller than SIZE Receiver deletes before transfer, not during Sender removes synchronized files (non-dir) Skip updating files that exist on receiver Specify the rsync to run on remote machine Store/recover privileged attrs using xattrsĬopy files whole (w/o delta-xfer algorithm) Transform symlink to dir into referent dir Ignore symlinks that point outside the tree Skip files that are newer on the receiver Make backups (see -suffix & -backup-dir)īackup suffix (default ~ w/o -backup-dir) Skip based on checksum, not mod-time & sizeĪrchive mode equals -rlptgoD (no -H, -A, -X) Usages with only one SRC argument and no DEST argument list the source files instead of copying. Īccess via rsync daemon ( PUSH): rsync SRC. [ HOST: DESTĪccess via rsync daemon ( PULL): rsync rsync rsync:/// SRC. Īccess via remote shell ( PULL): rsync Īccess via remote shell ( PUSH): rsync SRC. Support for anonymous or authenticated rsync daemons (ideal for mirroring).Pipelining of file transfers to minimize latency costs.Can use any transparent remote shell, including ssh or rsh.A CVS exclude mode for ignoring the same files that CVS would ignore.Exclude and exclude-from options similar to GNU tar.Support for copying links, devices, owners, groups, and permissions.Some of the additional features of rsync are: Any changes in the other preserved attributes (as requested by options) are made on the destination file directly when the quick check indicates that the file's data does not need to be updated. Rsync finds files that need to be transferred using a "quick check" algorithm (by default) that looks for files that have changed in size or in last-modified time. rsync is widely used for backups and mirroring and as an improved copy command for everyday use. It is famous for its delta-transfer algorithm, which reduces the amount of data sent over the network by sending only the differences between the source files and the existing files in the destination. It offers a large number of options that control every aspect of its behavior and permit very flexible specification of the set of files to be copied. It can copy locally, to/from another host over any remote shell, or to/from a remote rsync daemon. We also learned how to add source and destination into Grsync and take routine backups on our system.Rsync is a fast and extraordinarily versatile file copying tool. In this guide, we learned how to install and remove Grsync which is a nice backup utility. Run following simple commands, and Grsync will be gone. Running rsync is also the same as Grsync as both are mirrors to each other. You would only need to use the following command to run Grsync to run it via the command line. It is not required to change the defaults unless that is absolute. The latest version of Grsync is installed now.Īdd your source and destination directories and run the backup. Once installed, you can access Grsync from both your dashboard and CLI. Run the following command to install Grsync on Debian: sudo apt install grsync Do not try to install Grsync from PPAs as it will result in a system break. All instructions and commands only apply to Debian. In this guide, We are going to learn how to install Grsync. It has several advantages over plain CLI-based software. Grsync is a graphical alternative to command-line-based Rsync.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |