{% extends "layout.html" %} {% set active_page = "export" %} {% set help_page = ["https://kizniche.github.io/Mycodo/Export-Import/", _('Export Import')] %} {% block title %} - {{_('Export Import')}}{% endblock %} {% block head %} {% endblock %} {% block body %}
This will export all measurements found within the date/time range in comma-separated value (CSV) format (as timestamp, measurement).
Note 1: Requesting large data sets may take a long time to process.
Note 2: Dates and times are stored in influxdb as UTC, therefore you will need to adjust to your time zone for the local time.
This will create a ZIP file containing the InfluxDB meatastore and database containing all measurement data.
This will allow a ZIP file containing the InfluxDB meatastore and database to be uploaded and overwirite the current Influxdb database of measurements. Again, all data will be replaced (i.e. destroyed) by the imported backup. It is advised to export your current data before importing a previous backup if you don't want to lose this data. In the future, there will be an option to combine imported data with the current data. InfluxDB and the Mycodo daemon (backend) will be stopped momentarily while the import takes place.
This will create a ZIP file containing the Mycodo settings database containing the Mycodo configuration and user information. It will also include any custom functions, inputs, outputs, and widgets.
WARNING: MAKE A MYCODO BACKUP BEFORE ATTEMPTING A SETTINGS IMPORT!
This will allow a ZIP file containing the Mycodo settings database and custom functions/inputs/outputs/widgets to be uploaded and replace the current settings. Only databases from Mycodo versions equal or prior to the current Mycodo version should be imported. There is no check for this, but if you attempt to import a database from a version higher than the current Mycodo version, there will likely be issues. There may also be issues if the custom controllers are incompatible with the Mycodo version you're importing in to.
Note 1: This will override all settings, user accounts, and custom functions/inputs/outputs/widgets, and log you out from the web UI. A backup of the current database will be created in the database directory (~/Mycodo/databases/mycodo.db.backup_DATE_TIME).
Note 2: During this process, the new database will be upgraded to the current Mycodo version and all unmet dependencies will be installed. This process can take a while to complete if there are a significant number of dependencies to install, so be patient.