Uploaded image for project: 'MongoDB Database Tools'
  1. MongoDB Database Tools
  2. TOOLS-2096

MongoDump and MongoRestore accented characters problem

    • Type: Icon: Question Question
    • Resolution: Duplicate
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 4.0.0
    • Component/s: mongodump, mongorestore
    • None

      Hi,

      I'm facing to a problem when I want to user MongoDump and MongoRestore with a database where the name containt accented characters....

      The mongoDump created the file without error, warning (mongodump --db Référentiel --archive=Référentiel.arch).

      When I use MongoRestore integre this database to an other server, the MongoRestore action was ok (no error, warning....) but I can't see the database on MongoDB. (mongorestore -h localhost -d Référentiel --archive=Référentiel.arch -vvvvvvvvv)

      Example of message

       

      2018-08-08T14:26:29.670+0200 reading collections for database Référentiel in Référentiel
      2018-08-08T14:26:29.671+0200 skipping restoring Référentiel.ProjectionOrganismeFinanceur, it is not included
      2018-08-08T14:26:29.671+0200 demux Open
      2018-08-08T14:26:29.671+0200 skipping restoring Référentiel.ProjectionOrganismeFinanceur metadata, it is not included
      2018-08-08T14:26:29.671+0200 skipping restoring Référentiel.ProjectionOpération, it is not included
      2018-08-08T14:26:29.671+0200 demux Open

      .....

      2018-08-08T14:26:29.716+0200 ending restore routine with id=0, no more work to do
      2018-08-08T14:26:29.716+0200 starting restore routine with id=1
      2018-08-08T14:26:29.716+0200 ending restore routine with id=1, no more work to do
      2018-08-08T14:26:29.716+0200 starting restore routine with id=2
      2018-08-08T14:26:29.716+0200 ending restore routine with id=2, no more work to do
      2018-08-08T14:26:29.716+0200 done

       

      If I do all theses actions with a database whitout accented characters into the name, all is ok the database was created and collections too....

      I don't understand why.

      Do you have an idea please ?

       

      Kind regards

       

       

       

            Assignee:
            david.golden@mongodb.com David Golden
            Reporter:
            ccalimeero GALISSAIRES CYRIL
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: