Restores: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
Line 10: Line 10:
* You know a login of an admin user you used before, when old Dolibarr backup was done.
* You know a login of an admin user you used before, when old Dolibarr backup was done.


= Reinstall Dolibarr software =
= Step 1 - Reinstall Dolibarr software =
If you have uninstalled Dolibarr or not yet installed because you are on a new server, you must install Dolibarr as if you want to use it with a new clean database.
If you have uninstalled Dolibarr or not yet installed because you are on a new server, you must install Dolibarr as if you want to use it with a new clean database.


Line 17: Line 17:
You can install any Dolibarr distribution of your choice (Dolibarr, DoliWamp, DoliMamp, any other Linux distribution...), however it must be exactly the same version (vX.Y) than the one used to make the backup (if backup was done using Dolibarr 2.7 or more, the version might be included in the file name of the database backup).
You can install any Dolibarr distribution of your choice (Dolibarr, DoliWamp, DoliMamp, any other Linux distribution...), however it must be exactly the same version (vX.Y) than the one used to make the backup (if backup was done using Dolibarr 2.7 or more, the version might be included in the file name of the database backup).


= Restore documents =
= Step 2 - Restore documents =
On your new installed Dolibarr, go with an administrator user in the menu '''Home / System Tools / Restore'''.
On your new installed Dolibarr, go with an administrator user in the menu '''Home / System Tools / Restore'''.


Line 23: Line 23:
All you have to do then is to copy content of your saved directory of old documents files into this directory.
All you have to do then is to copy content of your saved directory of old documents files into this directory.


= Restore the database =
= Step 3 - Restore the database =
== MySql ==
== MySql ==
Copy the backup dump file into the same directory than the command '''mysql'''.
Copy the backup dump file into the same directory than the command '''mysql'''.
Line 90: Line 90:
{{ToComplete}}
{{ToComplete}}


= Use your restored Dolibarr =
= Step 4 - Use your restored Dolibarr =
After command is finished, you can go on Dolibarr logon.
After command is finished, you can go on Dolibarr logon.
Now you must use a login account that was existing when the backup was done.
Now you must use a login account that was existing when the backup was done.

Navigation menu