
my/source/ -e switch allows the transfer over ssh. Updating a remote webserver is much the same, except now, you probably want to use compression and need to specify the ssh credentails.
#YASU APP MAC FULL#
I use this solution instead for speed and the fact that I do not have the space for incremental backups (copying an almost full 3TB drive to another 3TB drive). Use of the duplicity tool in Linux is usually better as it offers incremental backups and encryption whereas this is more like a single copy. Rsync is generally not the "best" backup solution. for virtual machines) are tranferred efficiently (don't turn into non-sparse "disk-eaters") -sparse - ensures that sparse image files (e.g.-group - ensures the that group user of the file is kept (not the permission level for the group).-owner - ensures the that owner user of the file is kept (not the permission level for the owner).

I highly recommend you enable it the first time you run the command after writing it. This is why it is commented out, but left in so that you can easily enable it.


If the source ends in / like in the example above, then the content of that folder is placed in the destination specified. You may need to convert absolute symlinks to be relative in order to prevent making unnecessary duplicates on the destination. That switch lets you know what it is going to do before it goes ahead which has saved me many times. You will need to remove the -dry-run line in order for it to actually transfer/delete files. If you don't like it, you may want to use How-To Geek's alternative. Please note that having the end "/" is actually fairly important when specifying the source and destination folders. Related Postsīelow is the command I use for taking a 'backup' of my 3TB Drive. This is because it will only transfer the data that has changed, and it can even compress the data before sending it, which is great if bandwidth is an issue (which it usually is). Rsync is a great tool for making file backups/copies or for transferring files to a remote server.
