#multiple databases
31 messages · Page 1 of 1 (latest)
config.json > databaseInfo collection, change the name
change it for server and game
ty, and is there a way i can duplicate a mongodb collection? so i dont have to give myself all my artifacts again
just export from your other database and import into the new one, leave out the _id field when exporting'
they would only be for an account with the same uid unless you change them before re-importing
where is the export option
and wdym for this?
items are tied to the uid that owns them, so if you just export/import they'll all still be tied to the same uid they were before
ohhhhhh yeah okay
that's just the number, so on a new database you'd just need to be using an account with the same uid
i see
otherwise you'd need to change all of them
yeah ill use the same uid
and how do i import?
big green add data button right next to export
tysm :>
No problem
different problem now but after updating my mongodb all my data seems to be gone? 🥲
You switched the database to a new one in config.json right? No data is carried over, it's fully new
i did, but i checked compass and literally everything is gone
as a result of the update
the grasscutter database will still be there unless you dropped it or maybe if you only changed one instead of both of the database names in config.json
yeah i dont think i did
it has nothing to do with the cloining
it had to do with the updating mongodb
what exactly do you mean by updating it? You reinstalled it?