如何恢复克隆站点的旧备份

发布于 2024-11-07 23:15:32 字数 173 浏览 1 评论 0原文

几年前,我通过制作 zope 目录的副本来备份我的克隆站点,该目录包含其他目录,例如 var、Products 等、Extension、bin、log... 我认为 Plone 版本是 2.1.3 但我不确定。我想知道如何从该备份恢复我的克隆站点。我找不到任何有关从中恢复的文档。非常感谢任何帮助。

谢谢, 弗朗西斯

A couple years ago I backed up my plone site by making a copy of the zope directory cantaining other directories such as var, Products, etc, Extension, bin, log...
I think the Plone version was 2.1.3 but I am not certain. I would like to know how I can restore my plone site from this backup. I can't find any documentation on restoring from this. Any help is greatly appreciated.

Thanks,
Francis

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

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

发布评论

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

评论(1

总以为 2024-11-14 23:15:33

如果它确实是 Plone 2.1.x,您可以使用如下所示的构建:

该过程可能像这样(假设您安装了 Python 2.4):

$ easy_install-2.4 zc.buildout
$ mkdir plone
$ mkdir plone/products
$ cd plone
$ buildout init
$ curl http://dist.aclark.net/build/plone/2.1.x/extends.cfg > buildout.cfg  
$ bin/buildout

现在将旧的 Data.fs 复制到var/filestorage,并且:

$ bin/instance fg

您可能还需要复制 Products 目录的内容(到 plone/products)并通过 buildout 配置它们,方法是编辑 buildout.cfg 文件,如下所示:

[buildout]
extends = http://dist.aclark.net/build/plone/2.1.x/buildout.cfg

[instance]
products += products

然后再次运行 bin/buildout。

或者,在此处检查安装程序:http://dist.plone.org/archive/ 并重复在 Data.fs 和附加产品中复制的过程相同。

If it is really Plone 2.1.x, you can use a buildout like this one:

The procedure could like something like this (assuming you have Python 2.4 installed):

$ easy_install-2.4 zc.buildout
$ mkdir plone
$ mkdir plone/products
$ cd plone
$ buildout init
$ curl http://dist.aclark.net/build/plone/2.1.x/extends.cfg > buildout.cfg  
$ bin/buildout

Now copy your old Data.fs to var/filestorage, and:

$ bin/instance fg

You may also need to copy over the contents of the Products directory (to plone/products) and configure them via buildout, by editing your buildout.cfg file to look like this:

[buildout]
extends = http://dist.aclark.net/build/plone/2.1.x/buildout.cfg

[instance]
products += products

Then run bin/buildout again.

Or, check for an installer here: http://dist.plone.org/archive/ and repeat the same process of copying in the Data.fs and add-on products.

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