Restores: Difference between revisions

Jump to navigation Jump to search
m
mNo edit summary
Line 21: Line 21:
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.


= Reinstall the database =
= Restore the database =
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'''.


If your backup file was a compressed archive, unzipping the file before might be required:
If your backup file was a compressed archive, unzipping the file before might be required:
For example, a bzip archive backup named mysqldump_dolibarr_2.7.0_200812021800.sql.bz2 must be uncompressed to mysqldump_dolibarr_2.7.0_200812021800.sql (Launch bunzip myfile.bz2 under linux, or use 7zip under Windows).
For example, a bzip archive backup named mysqldump_dolibarr_2.7.0_200812021800.sql.bz2 must be uncompressed to mysqldump_dolibarr_2.7.0_200812021800.sql (Launch bunzip myfile.bz2 under Linux, or use 7zip under Windows).


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'''.

Navigation menu