Backup & Restore from InfluxDB Docker Container

I have a docker container where I am running influxdb , and want to copy the entire buckets from one server to another , or create a live replication , What is the best way to do it .