Rcover dolibarr from crashed server

Hi everybody,

Our server has been hacked. Any process to rebuil a new one ?
We have access to everything through ftp but cant run the server as it has been locked by our provider.

Thanks

Hello,

1- Save the database using phpmyadmin of your provider
2 - Save the document folder from FTP
2 (option) - Save custom directory if you have external modules.
3 - Re-install same Dolibarr version)
4 - put the backups (database + document folder + Customer folder)

thanks for your reply ksar, dolibarr wasn’t running the last version. any ideas to know from file what version it was running ?

I checked the changeLog file, last version logged is:

English Dolibarr ChangeLog

***** ChangeLog for 10.0.2 compared to 10.0.1 *****

Can I safely state from that that I was running 10.0.2 ?

Fairly sure the database logs the version, so as long as you install a newer PHP file set, when it checks the database it will start a migration process for you to upgrade the database to the version you are running from PHP.

I would load version 11, then restore the database first, with a username / password with full admit rights to that database container, then get a config that connects to the database, once it runs and sees the data is older it should start the migration.