Koozali.org: home of the SME Server

Backup only config with standard or smeserver-dar2 backup

Offline lucho115

  • *****
  • 209
  • +0/-0
    • http://www.elac.com.ar
Backup only config with standard or smeserver-dar2 backup
« on: March 16, 2007, 01:32:22 PM »
Ok, i want to back up all my config but not the content of tha homes of the users ,mails and ibays.
With smeserver-dar2 i can limit the backup job and do that ibay be not backed up, but how can i do to prevent to backup mails and homes ?
Thkns

Offline haymann

  • *
  • 212
  • +0/-0
Backup only config with standard or smeserver-dar2 backup
« Reply #1 on: March 16, 2007, 03:38:50 PM »
Adding those directories to the prune directories section should do the trick?
Ryan

Offline lucho115

  • *****
  • 209
  • +0/-0
    • http://www.elac.com.ar
Backup only config with standard or smeserver-dar2 backup
« Reply #2 on: March 16, 2007, 04:31:45 PM »
Quote
Adding those directories to the prune directories section should do the trick? [/code]


No, i cant do that because o have 200 user so i can enter 200 homes and mails folder root to the prune directories section, can you understand me?

i can be done if same king of regular expresion could be done, example:

prune :  /home/e-smith/files/users/*/home
            /home/e-smith/files/users/*/maildir

I enter this kind of routes in prune but dont work.
The question is how i have to write the route?
thks

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Backup only config with standard or smeserver-dar2 backup
« Reply #3 on: March 16, 2007, 05:49:19 PM »
Quote from: "lucho115"
prune :  /home/e-smith/files/users/*/home

Absolute paths are invalid, so drop the leading / to become:

home/e-smith/files/users/*/home

Darrell

Offline lucho115

  • *****
  • 209
  • +0/-0
    • http://www.elac.com.ar
Backup only config with standard or smeserver-dar2 backup
« Reply #4 on: March 16, 2007, 05:54:23 PM »
OK, thanks, i am going to try, but you are saying that the "*" is OK to refer to all users??
tnks

Offline dmay

  • *
  • 450
  • +0/-0
    • http://myezserver.com
Backup only config with standard or smeserver-dar2 backup
« Reply #5 on: March 16, 2007, 06:25:17 PM »
Quote from: "lucho115"
OK, thanks, i am going to try, but you are saying that the "*" is OK to refer to all users??
tnks

Yes it will work just fine.

Offline lucho115

  • *****
  • 209
  • +0/-0
    • http://www.elac.com.ar
Backup only config with standard or smeserver-dar2 backup
« Reply #6 on: March 19, 2007, 02:36:06 PM »
OK, its work ok, thanks dmay, and thanks for another great contrib.
bye