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

select type of database #710

Closed
vasyakrg opened this issue Nov 11, 2018 · 7 comments
Closed

select type of database #710

vasyakrg opened this issue Nov 11, 2018 · 7 comments

Comments

@vasyakrg
Copy link

it would be great to add a choice of database type

  1. postgres
  2. mysql-server
  3. mariadb-server
@enoch85
Copy link
Member

enoch85 commented Nov 11, 2018

The first VM ran MySQL, then we changed to MariaDB and had a lot of issues, so we decided to change to PostgreSQL, and since then everything has worked very well. It's very fast and avoids errors that MariaDB and MySQL have.

We will not change or give that as an option. PostgreSQL is the best DB in our opinion, and if you want to convert it yourself, you are free to do so.

@thejohnha
Copy link
Contributor

@enoch85 quick question for you: I have an instance that is running mariadb - it was set up with a earlier version of the vm scripts. Do you think there is a way I can migrate my instance to the new version with PostgreSQL? Ideally I'd like to start from scratch and create a brand new instance and then migrate everything over. I've done this before, but it was always from mariadb to mariadb, and not from mariadb to PostgreSQL...

@vasyakrg
Copy link
Author

@enoch85 quick question for you: I have an instance that is running mariadb - it was set up with a earlier version of the vm scripts. Do you think there is a way I can migrate my instance to the new version with PostgreSQL? Ideally I'd like to start from scratch and create a brand new instance and then migrate everything over. I've done this before, but it was always from mariadb to mariadb, and not from mariadb to PostgreSQL...

I would not advise moving from an existing base between MariaDB and PostgresSQL

@enoch85
Copy link
Member

enoch85 commented Nov 27, 2018

I would not advise moving from an existing base between MariaDB and PostgresSQL

Why?

It's as simple as creating a new DB, and let the Nextcloud occ command do it's job. Read more here: https://www.techandme.se/we-migrated-to-postgresql/ It's been working without a hitch since I deployed it.

@thejohnha
Copy link
Contributor

It's as simple as creating a new DB, and let the Nextcloud occ command do it's job. Read more here: https://www.techandme.se/we-migrated-to-postgresql/ It's been working without a hitch since I deployed it.

Sweet - thanks for that! I forgot about that blog post - I'll give it a shot :-)

@enoch85
Copy link
Member

enoch85 commented Nov 27, 2018

@thejohnha Remember, backups backups backups. :)

@thejohnha
Copy link
Contributor

@thejohnha Remember, backups backups backups. :)

👍👍👍😃

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

3 participants