![]() One can argue and be correct in explaining that in this case for rsync as a program instance the drives are all "local" but this misses the point. ![]() One example rsync sees a mounted SMB network share as a local drive. What is considered "local" from rsync's perspective can at times not really be that local. In the name of speed, Rsync, in my experience, changes automatically many operational parameters when rsync believes it has detected two local drives. I, however, have found rsync not as useful with local drives. Learn how to use rsync with hard links (-link-dest=) and life will be good. A fantastic Linux network enabled tool worth spending time learning. I do not use rsync with local drives but Rsync is wonderful for sync, cloning, backup and restore of data between networked linux systems. but those are not directly applicable to your question. In some rare instances, I've had to add additional parameters to account for changes in login accounts across remote machines, changing ports, and even specifying where 'rsync' lives on the remote host. I use this to keep two machines in sync, or to keep to subdirs in sync (like backing up to a USB drive).Īs one of the other posts stated earlier, the 'checksum' may actually be forced OFF if you are dealing with local drives. It allows either to be the master, with the significant caveat that if you want to delete something, you must delete it on both to be sure it's really gone, else it comes back.You update whichever you feel is the master at the time. I run it in BOTH directions between two (or more) servers, thus syncing in BOTH directions.The key features of the above combinations: ![]() I always run the above to make sure it works, then remove the 'n' flag that once I'm happy with the results. Note: on local filesystems, this get overridden and entire files are copied instead.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |