I try to convert my DB from SQLite to MySQL using this procedure Converting Database Type
Problem is, my nextcloud runs on a shared server and I don’t have access to a command shell.
However, I can execute command via task scheduler (i.e. crontab) and by using the FileMan application. So, in general I could execute arbitrary commands but not interactive.
Is there any possibility to run
php occ db:convert-type mysql username hostname database without confirmation “yes” - e.g.
I tried already
echo yes | php occ db:convert-type mysql username hostname database >> occ.out 2>&1
php occ db:convert-type type username hostname database <<< yes >> occ.out 2>&1
but they are not working.
All I get is
Creating schema in new database The following tables will not be converted: oc_privatedata oc_retention
but then it stops.