Use following command to copy-backup files from remote location to local location.
rsync -aHAXxv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} root@111.222.333.444:/path/to/remote/folder/ /backups/local/folder
{“/dev/“,”/proc/“,”/sys/“,”/tmp/“,”/run/“,”/mnt/“,”/media/*”,”/lost+found”}: This will exclude the files that we don’t need the backup for.
root@111.2222.333.444/path/to/remote/folder/ : This is remote path.
/backups/local/folder : This is local path.