Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

348
Vistas
mongodump - The filename, directory name, or volume label syntax is incorrect

When trying to do a mongodump we get this error:

$mongodump --host <host> -db <db> -out C:/ --username username --password password

The output is:

Failed: error dumping metadata: error creating m
etadata file C:\590690e1231230279214b1319f2\_Join:users:_Role.metadata.json
: open C:\590690e1231230279214b1319f2\_Join:users:_Role.metadata.json: The
filename, directory name, or volume label syntax is incorrect.

Is there a work-around for this when using a Windows OS machine? This db is a database of a parse-server

over 4 years ago · Santiago Trujillo
2 Respuestas
Responde la pregunta

0

Since mongoDB 3.2, the --archive option is introduced, which allows writing dump into a single file instead of a directory, e.g.:

$mongodump --host <host> --db <db> --archive <archive_file_name> --username <username> --password <password>

Note that the same option is used to specify the dump file to restore when using mongorestore.

over 4 years ago · Santiago Trujillo Denunciar

0

good day.. as you can see in the error your command is trying to dump _Join:users:_Role Collection which is invalid filename to mongodb, first rename those collection and try to dump again, or else try to dump the collections one by one. make sure not to include those invalid filename unless you rename them

over 4 years ago · Santiago Trujillo Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda