0

I have certain list of files (and components). We basically have two environments - test and prod. The new site has been set up in test and needs to migrate to prod.

Any way to do this? Also does this migration not impact UIDs (unique Ids/internal IDs)?

4

1 回答 1

1

根据您使用的版本和环境,您有几个选择。任何 6.7.X 或更低版本的一个选项是使用内容迁移工作流程(可能需要开发),它将内容从一台服务器迁移到另一台服务器。另一种选择是从命令行运行 rysnc(语法如下):

rsync -rpog -e ssh user@servername:/path/syncing/from.* /path/syncing/to

同样有一个安全复制命令(如下所示)。但是,虽然安全副本保留了日期,但 rsync 的工作速度更快。

scp -p user@servername:/path/copying/from.* /path/copying/to

对于 7.X 环境,您的最后一个选择是构建和运行一个 spar,如白皮书所示,它也会迁移内容。

于 2013-01-15T17:45:38.550 回答