Skip to main content

Restore account default folders?

Comments

3 comments

  • GOT
    No cpanel backup? I've not been in this position without a backup but you might try to make a backup even though it's broken with /scripts/pkgacct username Though that may not work given the missing data
    0
  • kenneth-vkd
    Well, tried that and while the backup restored, no more folders were created. So guess the customer has to start over with a fresh cPanel account and then restore their website on to that and then recreate their email accounts
    0
  • cPanelMichael
    Hello @kenneth-vkd, You'll need to backup the account's remaining data to a location outside of it's home directory, remove the account, and then create it again. Once it's created, move the data back into place and ensure the moved files/directories are owned by the account username. Finally, run the following command for good measure to make sure permission and ownership values on the email data is correct: /scripts/mailperm $username
    Thank you.
    0

Please sign in to leave a comment.