How to / restore Directory Structure

andrew75.t

New member
Joined
Mar 11, 2025
Messages
1
Hello all. I deleted all folders and files from Directory Structure. how i can restore this folders and files?
  • /backups
  • /domains
  • /imap
  • /Maildir
  • /public_html
 
Just login via SSH and create them again and set the correct rights.

Easier option... is there anything in there that still exists and needs to be saved? Personally I don't think so since public_html and imap are gone so if there is no mail in the Maildir directory, then database, website and mails are gone.
In that case, delete the domain from the panel. Then create the domain again and all directory's will be created newly.

If you are not an admin, then ask your hosting provider, because this forum is only intended for Directadmin license holders, so admins, not hosting customers.
 
Hello,

If you don't have backups you can not restore deleted files and directories, unless you removed them in DirectAdmin File Manager in Trash. If the files with directories were completely remove, and you don't have backups, you can re-create a directory structure as mentioned Richard.

Hello all. I deleted all folders and files from Directory Structure. how i can restore this folders and files?
 
Back
Top