Line 44:
Line 44:
= [[File:Who.png]] How ?=
= [[File:Who.png]] How ?=
−
== The configuration file ==
+
== A) The database ==
−
A simple copy of file ''conf/conf.php'' into a directory dedicated to your backup is enough.
−
−
== The database ==
There are 4 ways to backup your database:
There are 4 ways to backup your database:
Line 137:
Line 134:
[[File:Warning.png]] Mysqldump (using command line tool or using Dolibarr backup tool) is the most secure way to backup your data because it is developed along MySQL and thus is always up-to-date. '''PhpMyAdmin''' and other thirdparty tools may generate a correct SQL dump but may be outdated or miss some features (depending on options you choose).
[[File:Warning.png]] Mysqldump (using command line tool or using Dolibarr backup tool) is the most secure way to backup your data because it is developed along MySQL and thus is always up-to-date. '''PhpMyAdmin''' and other thirdparty tools may generate a correct SQL dump but may be outdated or miss some features (depending on options you choose).
−
== The documents ==
+
== B) The documents ==
Just copy the Documents folder (''dolibarr/documents'' by default) to your local backup directory.
Just copy the Documents folder (''dolibarr/documents'' by default) to your local backup directory.
Note: If you made a backup of the database with the System Tools of Dolibarr, the sql dump files also resides in the Documents folder, and thus will be copied along.
Note: If you made a backup of the database with the System Tools of Dolibarr, the sql dump files also resides in the Documents folder, and thus will be copied along.
+
+
+
== C) The configuration file ==
+
A simple copy of file ''conf/conf.php'' into a directory dedicated to your backup is enough.
= [[File:Astuces.png]] Restore =
= [[File:Astuces.png]] Restore =
This topic is explained into page [[Restores]].
This topic is explained into page [[Restores]].