openSenseMap archiving scheduler
460
This is the archive script of archive.opensensemap.org. It uses mongoexport, jq and curl to back up the data to sciebo.
The best way to start and schedule daily archiving is to start a docker container from this with the following environment variables set:
SLACK_HOOK_URL Slack webhook url to notify run errorsDAV_USER Username for the webdav instanceDAV_PASS Password for the webdav instanceDAV_URL The URL for your webdav instanceARCHIVE_FOLDER the base folder where you want to store the archiveMONGO_USER Username of your MongoDBMONGO_PASS Password of your MongoDB userMONGO_DB The database from which you want to pull the dataMONGO_HOST The host running MongoDBContent type
Image
Digest
Size
88.1 MB
Last updated
over 9 years ago
docker pull sensebox/osem-archiver