Skip all templates in ~/domains/domain.com upon restore creation

Version 1.49

Bugfix
Finished

If a User does not exist, previously a restore would first have DA create the User/Domain with the default paths. After creation, the tar.gz would be extracted overtop, setting the data. However, sometimes people might have links, eg: /home/user/domains/domain.com/public_html -> /some/other/path Fix is to extend a previous change: http://www.directadmin.com/features.php?id=814 where a skeleton/template is not processed for a domain on restore, so the template is skipped. This skip has now been extended to all folders to the ~/domains/domain.com folder (excluding public_ftp). So the new functionality is: If a Domain does exist during a restore, it will be created prior to extracting the tar.gz. But the creation processes will not create anything in ~/domains/domain.com (except public_ftp) and assumes that the extraction of the tar.gz will set the data as it was.

Interested to try DirectAdmin? Get a 30-day Free Trial!