This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| en:faq:how_to_migrate_astercc_system [2015/12/06 09:17] – [Database Recovery] liuxl | en:faq:how_to_migrate_astercc_system [2015/12/06 09:48] (current) – [Fourth:Copy(or Overwrite) the Config Files of System] liuxl | ||
|---|---|---|---|
| Line 137: | Line 137: | ||
| We selected many system file when backup,the list in [System]-> | We selected many system file when backup,the list in [System]-> | ||
| - | {{:zh:常见问题及解答:系统文件备份2.png?850|}} | + | {{:en:faq:backup_plans_2.png?750|}} |
| - | 备份好的系统配置文件是可以查看到的(黄框内的文件),我们将其解压(以 " | + | You can see the backup file of system config files (marked by yellow rectangle),we can unzip the .tar package execute below commands: |
| {{: | {{: | ||
| Decompress commands: | Decompress commands: | ||
| - | < | + | |
| + | < | ||
| + | |||
| + | Decompress all archive,then copy(or mv) all files and directories under original location correspondingly, i.e.: | ||
| < | < | ||
| \cp -rpf / | \cp -rpf / | ||
| Line 152: | Line 156: | ||
| </ | </ | ||
| - | 需要说明的是:\cp是在复制时,不提示覆盖信息用的,-r是有关目录的操作,-p是除复制源文件的内容外,还将把其修改时间和访问权限也复制到新文件中,-f是强行操作 慎重使用。 | + | Note:When use "\cp" (not cp) command to copy(or overwrite),there is no any overwrite information. |
| {{: | {{: | ||
| - | === 用代码实现即时性系统配置文件的转移(覆盖) === | + | === Copy(or Overwrite) the Config Files of System on Background |
| - | 首先登录登录原来服务器(192.168.1.175),找到[系统设置]->[备份计划管理]->[添加/ | + | |
| + | First,login the 192.168.1.175 | ||
| < | < | ||