8.Locks HexConnections CodeGlobe

Backups are the backbone of an organization. One of the efficient way to back up your files is to use the Rsync utility. Rsync is a powerful tool for efficiently transferring files between computers over a network.

In this tutorial, you will learn how to backup files from a remote Linux system (VPS) to a local system using a simple rsync script. You will also learn how to use the script with both SSH password-based authentication and SSH key-based authentication.

I regularly use this script to back up files from a remote VPS to my local Debian desktop. If you're seeking a straightforward script to back up your remote Linux VPS with Rsync, you can choose from any of the following script variants.