DA scripts not running on restore

MtK

Verified User
Joined
Aug 2, 2007
Messages
412
Hey,
I have a special script running on user creation and domain creation - working perfectly to my needs.

I'm now moving clients from an old server to this new one, but when I restore the client's backup (and the user & its domains are created) the relevant post script do not run.

is that a bug or a confusing feature?
 
All our post scripts, which are supposed to run on user creating, are running ok with restoring users.
 
Hello,

I've checked the code, and indeed, the user_create_post.sh will be run when a User is created during a restore.

I also followed the code for the case when domains are created during a restore. The domain_create_post.sh should also be called for that case. It won't be called if the domain already exists on the server (ie: in the named.conf, or User's domains.list)

John
 
Back
Top