Closed ErikThiart closed 2 years ago
The default DATABASE environment variable puts the SQLite database in /data/speedtests.db: https://github.com/ansemjo/speedtest-plotter/blob/7d7cb31aec97cb1afde1add7107a53fc642e3742/container/Dockerfile#L45
DATABASE
/data/speedtests.db
So unless you changed that variable, you can copy the database from the container:
docker cp speedtest:/data/speedtests.db ./speedtests.db
Alternatively, use the dump subcommand to export all measurements in CSV format:
dump
docker exec speedtest dump > measurements.csv
The default
DATABASE
environment variable puts the SQLite database in/data/speedtests.db
: https://github.com/ansemjo/speedtest-plotter/blob/7d7cb31aec97cb1afde1add7107a53fc642e3742/container/Dockerfile#L45So unless you changed that variable, you can copy the database from the container:
Alternatively, use the
dump
subcommand to export all measurements in CSV format: