Koozali.org: home of the SME Server

Affa on SME - exclude home dir for everyone

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Affa on SME - exclude home dir for everyone
« on: October 31, 2013, 01:57:16 PM »
I´d like to exclude home dir (not e-mail, just /home) when backup data using Affa.

I´d like to use something like:
'Exclude[3]'=>'/home/e-smith/files/users/*/home',

I´m just not sure if this work, and cannot test it on any production server! :o
I remember to have read the Affa version on SME do not support this.
Can someone confirm this?

There are any other way to do this?

Thanks

Jáder
...

Offline elmarconi

  • ***
  • 139
  • +0/-0
Re: Affa on SME - exclude home dir for everyone
« Reply #1 on: November 03, 2013, 04:25:23 PM »
I exclude some directories like this:

Quote

[root@smeserver ~]# db affa show SME_to_microNAS | grep Exclude | grep 7
    Exclude[7]=/home/e-smith/files/ibays/data/files/TN/*/24*

[root@smeserver ~]# rpm -qa | grep affa
smeserver-affa-2.0.0-rc4


Yes, it works ;-)

...

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
Re: Affa on SME - exclude home dir for everyone
« Reply #2 on: November 03, 2013, 06:39:09 PM »
Thank you.
I'll update Affa job... and wait for results :D

...