31,029
edits
mNo edit summary |
m (→The database) |
||
| Line 40: | Line 40: | ||
With Mysql, the command to backup your database into a file is : | With Mysql, the command to backup your database into a file is : | ||
<source lang="bash"> | <source lang="bash"> | ||
mysqldump -u user -pyourpass --result-file=dolibarr.version.date.sql | mysqldump -u user -pyourpass --result-file=dolibarr.version.date.sql databasename | ||
</source> | </source> | ||
{{ToTranslate}} | {{ToTranslate}} | ||
where ''user'' is MySQL user that Dolibarr use to connect to database, ''yourpass'' is password of MySQL account user (warning, no space between the p and yourpass), ''date'' is the date you can add into output file name ( | where ''user'' is MySQL user that Dolibarr use to connect to database, ''yourpass'' is password of MySQL account user (warning, no space between the p and yourpass), ''date'' is the date you can add into output file name (this will help you to find later a backup file if you have a lot of backups), and ''databasename'' is the name of Dolibarr database. | ||
Thoose informations (user, password and database) are available into your configuration file ''dolibarrdir/htdocs/conf/conf.php'' | |||
== The documents == | == The documents == | ||