Usage of private API - OC_DB::updateDbFromStructure
Hi @pbek,
we are cleaning up our code base and found that you are using a private method that we plan to remove in Nextcloud 22. It's OC_DB::updateDbFromStructure in https://github.com/pbek/nextbackup/blob/7708a82dd9f0b71428bed51bfefbcaee2b72b3fa/service/backupservice.php#L319
Do you mind to migrate away from this method or completely copy the code over to your app so that it continues to work. The removal will happen in the PR https://github.com/nextcloud/server/pull/21641
Thank you for the heads up. Nextbackup isn't even compatible to NC21 (#50) and I'm not sure if I will put in the work to rewrite that all given that the private database API has a lot of problems as it is anyway (#35, #37, ..) 😅
I just wanted to let you know and find possible issues easier instead of running into it and then need to find the root cause. No pressure at all from my side - it's your time and you should do what you want :)
Thanks for the app anyways, as it may help some others to accomplish a task :)
Thank you. I still tend to trust "mysqlbackup" more when it comes to the quirks of the database... 😅 Btw. do you know if there are many users of PostgreSQL with NC (in comparison to MySQL)?
Btw. do you know if there are many users of PostgreSQL with NC (in comparison to MySQL)?
THere are definitely a lot of them, but compared to MySQL it's the minority IMO. We don't have hard numbers over all instances because we only have opt-in surveys.
Thank you. In the end PostgreSQL is a reliable and well trusted DBMS.