Defining local backups in rsnapshot is pretty easy, it basically looks like this:

backup /what/to/backup         target_folder/

Remote backup (download files from remote server using rsync) is also straightforward:

backup [email protected]:/home/user         target_folder/home/user/

If your server uses non-standard SSH port, you can define it easily using the ssh_args parameter for each backup endpoint:

backup [email protected]:/home/user         target_folder/home/user/		ssh_args="-p20022"

If you need to add multiple parameters to a backup endpoint, separate them using comma (,):

backup [email protected]:/home/user         target_folder/home/user/		rsync_long_args=--rsync-path="sudo rsync",ssh_args="-p20022"