Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rocket Chat Migration. #77

Open
0xMH opened this issue Mar 5, 2018 · 6 comments
Open

Rocket Chat Migration. #77

0xMH opened this issue Mar 5, 2018 · 6 comments
Assignees
Milestone

Comments

@0xMH
Copy link

0xMH commented Mar 5, 2018

Could the migration process be implemented? My thoughts is that it's just migrating MongoDB right?

@xenithorb
Copy link
Collaborator

xenithorb commented Mar 5, 2018

Can you describe in better detail what it is you're looking for? i.e. "when run with --tags migration this role does.... ?" A description of expected inputs and outcomes would be helpful here.

@0xMH
Copy link
Author

0xMH commented Mar 5, 2018

I was thinking of migrating an already deployed Rocket chat server to a new server with more specs for example.

@xenithorb
Copy link
Collaborator

xenithorb commented Mar 5, 2018

While technically possible, automating "from one server to another" seems a bit outside of the scope of this role. However, what does make some sense to support is restoring an already existing mongodb database dump, after mongodb is installed by this role. I like it 👍

@xenithorb xenithorb self-assigned this Mar 5, 2018
@xenithorb xenithorb added this to the 3.2.0 milestone Mar 5, 2018
@0xMH
Copy link
Author

0xMH commented Mar 5, 2018

But what is the use cases of restoring an already existing mongodb database dump to the same server? Things like automating backups & restoring?

@aoyawale
Copy link

aoyawale commented Mar 8, 2018

yes, basically that. You can somewhat take this further add the copy module, send it to the other RC host and possibly restore there but, there is no mongodb module to restore like pgsql. So you will have to use shell/command module which can get tricky.

@nickbroon
Copy link

Having ansible tasks and variables to specify a database dump to restore would be great for deploying a new RocketChat server with data from an old manually installed system.
(And perhaps having ansible task that configure automatic database back dumps would also be great).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants