Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: lucho115 on March 16, 2007, 01:32:22 PM

Title: Backup only config with standard or smeserver-dar2 backup
Post by: lucho115 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
Title: Backup only config with standard or smeserver-dar2 backup
Post by: haymann on March 16, 2007, 03:38:50 PM
Adding those directories to the prune directories section should do the trick?
Ryan
Title: Backup only config with standard or smeserver-dar2 backup
Post by: lucho115 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
Title: Backup only config with standard or smeserver-dar2 backup
Post by: dmay 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
Title: Backup only config with standard or smeserver-dar2 backup
Post by: lucho115 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
Title: Backup only config with standard or smeserver-dar2 backup
Post by: dmay 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.
Title: Backup only config with standard or smeserver-dar2 backup
Post by: lucho115 on March 19, 2007, 02:36:06 PM
OK, its work ok, thanks dmay, and thanks for another great contrib.
bye