rsync is a neat utility that lets you transfer whole directories ssh-encrypted over the internet.

So it is perfect for online-backup purposes off servers etc. pp.

It even can do partial-transfer which means: if 1 bit changed in a 1TB file it will only transfer that 1bit.

1. setup:

# install
# debian
apt-get update && apt-get install rsync
# alternatively
aptitude install rsync

# centos7
yum update && yum install rsync

2. usage

rsync over ssh, please test if you can login to your server ssh -p1234 username@linuxServer.de before trying to upsync.

rsync -v --progress -r --update -e 'ssh -p1234' /FOLDER_TO_SYNC username@linuxServer.de:/FOLDER_TO_SYNC/
# limit bandwith used to 30kybtes/s
--bwlimit=30 

ssh-port

this will throttle the upload to 30KByte / S

Have fun!

liked this article?

  • only together we can create a truly free world
  • plz support dwaves to keep it up & running!
  • (yes the info on the internet is (mostly) free but beer is still not free (still have to work on that))
  • really really hate advertisement
  • contribute: whenever a solution was found, blog about it for others to find!
  • talk about, recommend & link to this blog and articles
  • thanks to all who contribute!
admin