Export and import part of a DB


we have several machines at our custormers. This machines should collect data via the collectd and store this data in a influxdb.

From time to time (mostly when the customer has problems) we use a script to collect several data from several files (log data etc.) from a given time period and create a archive from that files. In our office we can import the files and look whats going wrong here.
So we wan’t to do this also with the infludb.
Is it possible to export the data from a given period (e.g. the last 5 days) and import it in another influxdb? Or export it in a CSV?