Hi Guys,
I have a quite simple question, what's the best way to purge data of only one
user? I would like to exclude all users from the purge a part from one. I'm
writing something like:
Filesets {
FileClass user1 {
Definition {
tree == "/scratch/$MYFILESYSTE/user1"
and
owner == user1
}
{
{
Purge_Policies
{
Ignore
{ group == "$STAFF_GROUP"
or
owner == "root"
}
# policy default
# {
# condition
# {
# last_access > 30d
# }
# }
policy purge_user1
{
target_fileclass = user1;
condition { last_access > 30d }
}
}
Purge_Trigger
{
trigger_on = global_usage ;
high_watermark_pct = 30% ;
low_watermark_pct = 10% ;
check_interval = 2h ;
}
The fact that I ignore only root & the GID of the staff, means that I'll delete
all other users data or only user1 because is the only purge policy?
Thanks
Fabio
--
- Fabio Verzelloni - CSCS - Swiss National Supercomputing Centre
via Trevano 131 - 6900 Lugano, Switzerland
Tel: +41 (0)91 610 82 04
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
robinhood-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/robinhood-support