热搜: 活动 交友 discuz
查看: 2160|回复: 0


发表于 2019-7-14 20:13:16 | 显示全部楼层 |阅读模式
Below are example UNIX commands to copy a Plone site data from a computer to another over SCP/SSH connection.
The actual $USERNAME and folder locations depend on your system configuration.
A copy of the Plone site configuration must already exist on the target computer.

These instructions are for copying or creating a backup of your site data.
This operation can be performed on a running system - Data.fs is append only file and you will lose transactions which happened during the copying of the end of the file.

Copy Local To Remote
Run this command in your buildout Plone installation.
Copy Data.fs database:
  1. scp -C -o CompressionLevel=9 var/filestorage/Data.fs

Copy BLOB Files Using Rsync
BLOB files contain file and image data uploaded to your site.
Since the file content rarely changes after upload, rsync can synchronize only changed files using -a (archive) flag.
  1. rsync -av --compress-level=9 var/blobstorage


使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册


QQ|小黑屋|Archiver|手机版|Plone技术资料 ( 湘ICP备14006519号-1 )

GMT+8, 2019-12-8 09:25 , Processed in 0.045568 second(s), 14 queries , Gzip On.

Powered by Plone! X3.4

© 2001-2019

快速回复 返回顶部 返回列表