如何保留“Sitecore 内容编辑器”任何项目的备份树?

发布于 2024-08-22 14:08:28 字数 61 浏览 5 评论 0原文

如何保留 sitecore 中任何项目的备份。如果将来再次需要任何项目,并且我想恢复旧项目的所有设置和内容。

How to keep back-up of any item in sitecore. If any item can be needed in future again and i want to revert all setting and content of old items.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

信愁 2024-08-29 14:08:28

您应该研究一下 Hedgehog 的 Sitecore 团队开发。它允许您在 SVN 或 TFS 中管理 Sitecore 项目。

http://www.hhogdev.com/products/team-development- for-sitecore.aspx

You should look into Hedgehog's Team Development for Sitecore. It allows you to manage Sitecore Items in SVN or TFS.

http://www.hhogdev.com/products/team-development-for-sitecore.aspx

花开雨落又逢春i 2024-08-29 14:08:28

取决于您的业务要求。您可以:

  1. 在 Sitecore 中使用项目版本
  2. 序列化项目并将序列化输出存储在 SVN 中
  3. 生成包含要备份的项目的包并将该包存储在 SVN 中

Depends on your business requirements. You could:

  1. Use item versions in Sitecore
  2. Serialise items and store the serialisation output in SVN
  3. Generate packages containing the item you want to backup and store the package in SVN
兮颜 2024-08-29 14:08:28

如果您尝试将项目存储在 SVN 中,我会使用序列化。我相信这是 Sitecore 添加该功能的部分原因。

需要考虑的一件事是在 SVN 中序列化您想要的内容的某种自动化过程。例如,如果您想在 SVN 中保留所有模板更改,您可以绑定到保存事件,然后在保存模板时使用 API 序列化受影响的模板并将其签入 SVN。

If you are trying to store the items in SVN I would use serialization. I believe that part of the reason Sitecore added that feature.

One thing to consider would be some sort of automated process to serialize the content you want in SVN. For example if you say wanted to keep all template changes in SVN you could tie into the save event, then when a template is saved use the API to serialize the affected template and check it into SVN.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文