Un répertoire update contenant les images
1. Mise à jour
1.1 Supprimer les collections
Depuis le container mongoDB
mongo -u user --authenticationDatabase admin --host localhost --verbose -p use gleaves db.hpo.drop()
1.2 Importer les collections à jour
docker cp update/hpo_20250204.jsonl users_20250204.jsonl $containerID:/tmp
Depuis le container mongo :
cat /tmp/hpo_20250204.jsonl | mongoimport --collection hpo --uri="mongodb://user:password@localhost:27017/gleaves?authMechanism=SCRAM-SHA-1&authSource=admin" --file /dev/stdin