Remote backup for influxdb

HI,
can anyone suggest to take a remote backup to influxdb…
I am using this command “./influx backup -portable --host=[http://localhost:8088](http://localhost:8088/) --path=/tmp/” but received the following error message "Error: Post “http://localhost:8088/api/v2/backup”: read tcp 127.0.0.1:44734->127.0.0.1:8088: read: connection reset by peer"… I tried this one also , but reoccurring https://gitmemory.com/issue/influxdata/influxdb/13706/489546195 …I am running an influx db as containe