Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Possible to restore ONLY mail dirs?

Discussion in 'E-mail Discussion' started by electric, Nov 9, 2005.

  1. electric

    electric Well-Known Member

    Joined:
    Nov 5, 2001
    Messages:
    737
    Likes Received:
    4
    Trophy Points:
    318
    Is this possible? We often have requests to restore ONLY the mail folders, and NOT to touch any other files, etc.... (ie: Client has deleted all their email by mistake)

    Is it possible to do this without having to manually open the tar file, extra the mail folders, etc...?

    ie: Can we add another restore checkbox option to WHM that says something like:

    [checkbox] Restore *only* /mail/* folders?

    Thanks.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,460
    Likes Received:
    22
    Trophy Points:
    463
    Location:
    Go on, have a guess
    No, you'd have to do it by hand from shell by expanding the backup tarball for the account and then copying the apporpriate directories over the live ones, remembering to preserve the file ownerships and permissions.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice