alfresco4 文件存放位置

环境:alfresco4.2.b

 

上传的文件存放的目录在:

 

1、看alfresco_home\apache-tomcat\shared\classes\alfresco-global.properties里面的dir.root属性。

一般是alfresco_home/apps/alfresco/data

 

里面的目录结构是这样的:

 ../data
       /oouser
       /backup-lucene-indexes
       /contentstore
       /contentstore.deleted
       /lucene-indexes

 

其中,当前正在使用的文件是在contentstore里面,它是按照日期的形式将上传的文件保存其中的,不过名字是改成类似uuid形式的,后缀名改成是bin结尾的。

 

2、系统缺省情况下不会立即删除掉永久删除的文件,而是会继续保存一段时间(缺省14天),然而,你可以更改这些设定,在repository.properties文件里:

#
# Decide if content should be removed from the system immediately after being orphaned.
# Do not change this unless you have examined the impact it has on your backup procedures.
system.content.eagerOrphanCleanup=false
# The number of days to keep orphaned content in the content stores.
#    This has no effect on the 'deleted' content stores, which are not automatically emptied.
system.content.orphanProtectDays=14
# The action to take when a store or stores fails to delete orphaned content
#    IGNORE: Just log a warning.  The binary remains and the record is expunged
#    KEEP_URL: Log a warning and create a URL entry with orphan time 0.  It won't be processed or removed.
system.content.deletionFailureAction=IGNORE
# The CRON expression to trigger the deletion of resources associated with orphaned content.
system.content.orphanCleanup.cronExpression=0 0 4 * * ?

 

经过测试,当日期超过14天后,alfresco会将删除的文件放在contentstore.deleted目录里。

 

refurl:http://www.sysvision.net/wiki/en/Alfresco_Admin_Guide

 

 

 

 

 

 

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值