Backup dir with tar form remote
ssh user@host 'tar -cvzf - /path/to/dir/' > ~/Downloads/backup.tar.gz