aaPanel_Kern Dear Kern, thanks for your reply!
We are using the latest version 7.0.22 .
I did some further investigation and indeed: the .htaccess file is part of the backup compressed file, it is there, but when I choose to do a restore from the aapanel menu, the .-files and .-directories from the website's root-folder will be omitted for some reason?
The problem is as follows: the restore will put back the .htaccess file if it is in a subdirectory of the website folder (for example /www/wwwroot/website2/**public_html**/.htaccess will be recovered correctly)
But if the .htaccess (or any .-file or .-directory) is in the rootfolder of the website, they will be part of the compressed backup file but will be omitted when restoring.
For example: /www/wwwroot/website1/.htaccess or /www/wwwroot/website1/.wellknown will be part of the compressed backup-file, but will not be recovered and simply omitted.
I now know that I can recover them manually from the compressed file (thanks for that insight) but I do not understand why they won't be put back during the restoring-process
If the OS version matters (which I doubt, but just for completion's sake) :
Operating System: Rocky Linux 8.6 (Green Obsidian)
CPE OS Name: cpe:/o:rocky:rocky:8:GA
Kernel: Linux 4.18.0-372.9.1.el8.x86_64
Architecture: x86-64