Copy database from Remote server to local

How to copy an InfluxDB database that exists on a server onto my local machine. Please suggest.

I suggest rsync.

Antony.