gridfsmigrate
gridfsmigrate copied to clipboard
RocketChat GridFS to filesytem migration script
For example: ``` mongo_url = 'mongodb://root:password@host1:3717,host2:3717/rocketchat?replicaSet=rs0&authSource=admin' ``` Replace `MongoClient(host=self.host, port=self.port)[self.db]` with `MongoClient(mongo_url)[self.db]`
Hello, Can you please help me the script is not working for me? Whenever i run ./migrate.py -c dump -r rocketchat -t FileSystem -d /root/mongo it gives me with following...
Hi, Thanks for the tool, it was useful with little tweaks for the version we are using. However, I am bit confused on the paths used for attachment. My apologies...
Seems it can't authenticate with Mongo pymongo.errors.OperationFailure: Authentication failed., full error: {'operationTime': Timestamp(1675634137, 1), 'ok': 0.0, 'errmsg': 'Authentication failed.', 'code': 18, 'codeName': 'AuthenticationFailed