Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:faq:how_to_migrate_astercc_system [2015/12/06 09:17] – [Database Recovery] liuxlen: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]->[Backup Plans]->[Add Backupplan]->[Advanced]->[Backupfile] We selected many system file when backup,the list in [System]->[Backup Plans]->[Add Backupplan]->[Advanced]->[Backupfile]
  
-{{:zh:常见问题及解答:系统文件备份2.png?850|}}+{{:en:faq:backup_plans_2.png?750|}}
  
-备份好的系统配置文件是可以查看到的(黄框内的文件),我们将其解压(以 "_etc_" 开头的压缩包为例)+You can see the backup file of system config files (marked by yellow rectangle),we can unzip the .tar package execute below commands
  
 {{:zh:常见问题及解答:备份的配置文件.png?850|}} {{:zh:常见问题及解答:备份的配置文件.png?850|}}
  
 Decompress commands: Decompress commands:
-<code> tar -xzvf XXXXX.tar.gz </code> 将三条记录都解压会出现一个叫 etc 的文件夹解压完后有四个文件夹,将其四个及其目录下的所有文件夹、文件复制到新的服务器“相应”位置, 即+ 
 +<code> tar -xzvf XXXXX.tar.gz </code> 
 + 
 +Decompress all archivethen copy(or mv) all files and directories under original location correspondingly, i.e. 
 <code> <code>
 \cp -rpf /BF.19.2015-02-28-16-08/etc/* /etc \cp -rpf /BF.19.2015-02-28-16-08/etc/* /etc
Line 152: Line 156:
 </code> </code>
  
-需要说明的是:\cp是在复制时,不提示覆盖信息用的,-r是有关目录的操作,-p是除复制源文件的内容外,还将把其修改时间和访问权限也复制到新文件中,-f是强行操作 慎重使用。+NoteWhen use "\cp" (not cp) command to copy(or overwrite)there is no any overwrite information. -r:not only copy filesbut also directories. -f:force
  
 {{:zh:常见问题及解答:备份文件1_1_6.png?850|}} {{:zh:常见问题及解答:备份文件1_1_6.png?850|}}
  
  
-=== 用代码实现即时性系统配置文件的转移(覆盖) === +=== Copy(or Overwritethe Config Files of System on Background === 
-首先登录登录原来服务器(192.168.1.175)找到[系统设置]->[备份计划管理]->[添加/编辑 备份计划]->[高级资料]->[备份内容]下备份的文件及目录。+ 
 +First,login the 192.168.1.175 serveryou can see the backup files under [System]->[Backup Plans]->[Add Backupplan]->[Advanced]->[Backupfiledirectory.
  
 <code> <code>
en/faq/how_to_migrate_astercc_system.1449393466.txt.gz · Last modified: (external edit)
Recent changes RSS feed Debian Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki