Create extra folder on new account

question

Verified User
Joined
Jun 17, 2011
Messages
6
Is it possible to automatically create a folder when a new accont is saved? In the user profile I would like a folder "backup" for site backups. Now I have to do this manually, but it would be nice if this folder could come with a new user account.
 
Now I have to do this manually,
No you don't normally. On every account creation there is already a directory /backups created automatically.
It's under /home/users/ so in fact it's /home/user/backups and this is used for backups which Directadmin creates. If it does not exists it will surely be created at the first backup made via the Directadmin system.
 
That's correct Richard, that's why I don't want to use that folder for other backups (and their log files and checksum files) too. It would be better to have these files in different folders.
 
that's why I don't want to use that folder for other backups
Ah sorry, I was under the impression that you were looking for this, because you said site backups, I thought you ment default site backups.
If you want the directory as a second directory under /home/user you might best use what Zhenyapan pointed to.

If you want a directory in the public_html directory (not advisable for backups normally) you can add the directory to your admins or resellers defaults folder.
 
Back
Top