Re: [xwiki-users] Which subdirectory to delete for xwiki 8.4.4 cleaning?

2017-04-10 Thread Vincent Massol
Hi Pascal,

> On 10 Apr 2017, at 12:15, Thomas Mortagne  wrote:
> 
> On Mon, Apr 10, 2017 at 11:25 AM, Pascal BASTIEN
>  wrote:
>> Hello,
>> 
>> Could you tell me chich subdirectory to delete for xwiki cleaning in my 
>> environment.permanentDirectory=/home//data_xwiki/?

See http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Backup

Thanks
-Vincent

PS: I’ve added some missing details.

>> 
>> When I need to restart, upgrade xwiki or save my data subdirectory, I wonder 
>> which subdirectory I can delete...
>> 
>> I know I can remove: /home//data_xwiki/solr
>> 
>> Can I remove, these one?
> 
>> /home//data_xwiki/mails/
> 
> AFAIK this folder is used to store mail before they are actually sent.
> 
>> /home//data_xwiki/lucene
> 
> This is not used since 7.0 so you should definitely get rid of it.
> 
>> and/or
> 
>> /home//data_xwiki/cache/
> 
> Not a bad idea. For now this folder contains only descriptors of core
> extensions that were resolved online you get more details
> ("extension/core" subfolder). If you delete it XWiki will simply try
> to resolve them at startup but it won't need to resolve much since the
> WAR embeds complete descriptors for all the JARs it contains in 8.4.4.
> It will clean descriptors that were downloaded in previous versions.
> 
>> 
>> Thxs
>> 
>> Pascal B
> 
> Now, except for lucene maybe if you have lots of documents, cleaning
> those folders should not free much space if that's why you want to
> cleanup.
> 
> 
> -- 
> Thomas Mortagne



Re: [xwiki-users] Which subdirectory to delete for xwiki 8.4.4 cleaning?

2017-04-10 Thread Thomas Mortagne
On Mon, Apr 10, 2017 at 11:25 AM, Pascal BASTIEN
 wrote:
> Hello,
>
> Could you tell me chich subdirectory to delete for xwiki cleaning in my 
> environment.permanentDirectory=/home//data_xwiki/?
>
> When I need to restart, upgrade xwiki or save my data subdirectory, I wonder 
> which subdirectory I can delete...
>
> I know I can remove: /home//data_xwiki/solr
>
> Can I remove, these one?

> /home//data_xwiki/mails/

AFAIK this folder is used to store mail before they are actually sent.

> /home//data_xwiki/lucene

This is not used since 7.0 so you should definitely get rid of it.

> and/or

> /home//data_xwiki/cache/

Not a bad idea. For now this folder contains only descriptors of core
extensions that were resolved online you get more details
("extension/core" subfolder). If you delete it XWiki will simply try
to resolve them at startup but it won't need to resolve much since the
WAR embeds complete descriptors for all the JARs it contains in 8.4.4.
It will clean descriptors that were downloaded in previous versions.

>
> Thxs
>
> Pascal B

Now, except for lucene maybe if you have lots of documents, cleaning
those folders should not free much space if that's why you want to
cleanup.


-- 
Thomas Mortagne


[xwiki-users] Which subdirectory to delete for xwiki 8.4.4 cleaning?

2017-04-10 Thread Pascal BASTIEN
Hello,

Could you tell me chich subdirectory to delete for xwiki cleaning in my 
environment.permanentDirectory=/home//data_xwiki/?

When I need to restart, upgrade xwiki or save my data subdirectory, I wonder 
which subdirectory I can delete...

I know I can remove: /home//data_xwiki/solr

Can I remove, these one?
/home//data_xwiki/mails/
/home//data_xwiki/lucene
and/or 
/home//data_xwiki/cache/

Thxs

Pascal B