备份: Difference between revisions

Jump to navigation Jump to search
Line 173: Line 173:




[[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(无论是通过命令行工具还是Dolibarr的备份功能)是备份数据的最安全方法,因为它是由与MySQL相同的开发人员开发的,因此始终是最新的。'''phpMyAdmin'''和第三方软件可能会生成有效的SQL转储文件,但其使用的SQL可能已过时或缺少某些功能(取决于您选择的选项)。


==B) The documents==
==B) 文档==
Just copy the Documents folder (''dolibarr/documents'' by default) to your local backup directory.
只需将整个文档目录(默认是''dolibarr/documents'')复制到专用备份磁盘/目录就足够了。


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.
以下是如何知道该目录的位置:


*默认情况下,该目录名为dolibarr/documents
*可以通过 '''conf.php''' 文件中的变量 '''$dolibarr-main-data-root''' 找到完整路径
*可以从菜单 '''主页-管理工具-备份-步骤2''' 中找到此目录的完整路径信息


==C) The configuration file==
注意:如果您使用Dolibarr的系统工具备份数据库,则sql转储文件也位于Documents文件夹中,因此将一起被备份。
==C) 配置文件==
A simple copy of file ''conf/conf.php'' into a directory dedicated to your backup is enough.
A simple copy of file ''conf/conf.php'' into a directory dedicated to your backup is enough.


714

edits

Navigation menu