I want to get rid of snap.
I have RocketChat 0.69.0 installed via snap on Ubuntu 17.10.
Is it possible to backup database and use it on new RocketChat installed in manual way on CentOS?
What is the steps?
Thanks.
Can I use for backup this manual?
How I can deploy this database on new RocketChat?
Backup rocket database first, remove everything, deploy in any way you want, restore database and run rocket chat.
Ok, I did backup of database with this manual
Now I have this file on my new server when the new empty RocketChat is installed.
How I can restore database?
I have this manual, but I need more arguments for
mongorestore ~/backup
it does not work this way:
[root@localhost tsuser]# ls
backup backup.tgz
[root@localhost tsuser]# mongorestore backup
2018-09-07T12:37:20.803+0300 preparing collections to restore from
2018-09-07T12:37:20.804+0300 don't know what to do with subdirectory "var/snap", skipping...
2018-09-07T12:37:20.804+0300 done
@geekgonecrazy , please help.
This is not a support forum. Please follow mongo community forums or Rocket Chat Forum https://forums.rocket.chat/
Take a look inside backup. I'm guessing inside is probably a folder called dump.
If not find path to folder directly containing .json files. I'll make assumption they are in backup/dump/parties
mongorestore --db rocket-chat backup/dump/parties
Now it should import and the DB be called rocket-chat.
Please move further support questions to our forum: https://forums.rocket.chat