http://usggwz6vwth276fdyccskoba5u2jis5ugv2ew2fy2blowgf2dv73axad.onion/post/problems-and-solutions-with-gitea-1-15.html
This command creates
a zip file called gitea-dump-${id}.zip : sudo -i -u gitea HOME = /var/lib/gitea GITEA_WORK_DIR = /var/lib/gitea /usr/bin/gitea dump --skip-repository --skip-log --skip-custom-dir --skip-lfs-data --skip-attachment-data --database mysql -c /etc/gitea/app.ini change the database type in /etc/gitea/app.ini . Comment out the old section and
add a new mysql section like this: [database] ; Either "mysql", "postgres", "mssql" or "sqlite3", it's your choice DB_TYPE = mysql HOST...