rsync -rPtz –progress -e ssh /local_backup_path/ remote_host:/remote_backup_path/
The -e ssh tells rsync to use a ssh client instead of rsh. The -z option compresses the file. -t preserves time attributes and the -P option resumes incomplete file transfers.
If you run this command from the command line you can use the –progress option, that will show you a progress bar during transfer. Very useful with large files.
Вашият коментар