Here is the official command for backing up the database from cloud.mongodb.com
When I run it in shell with the appropriate password and correct db name I get the following error:
[js] SyntaxError: missing ; before statement @(shell):1:12
The database name is school
I've searched for the error and only found the following: MongoDB SyntaxError: missing ; before statement @(shell). It says that the db name should begin with an underscore or a letter which it does in my case.
What am I missing?