Ok so it work, I mixed some of your answers
before migration, I made an backup on my computer.
after migration, I didn’t make qu backup, and I fucked up the network config.
si I did reinstall from scratch my VPS on Debian 12 but I couldn’t retore the backup because of the ERRORS shown in previous message.
I’ve found, the db.sql files in the archive .tar (apps/nextcloud/backup/db.sql) and manually deleted the first line /*M!999999\- enable the sandbox mode */
then upload my archive again on my VPS and succeed to restore the apps.
Thank’s a lot @rodinux !