The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Backing up User's Mail Account

Discussion in 'E-mail Discussions' started by codegirl42, Nov 11, 2006.

  1. codegirl42

    codegirl42 Well-Known Member

    Joined:
    Mar 9, 2006
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    6
    What is the best way to back up a user's mail account?
    I have an account on the server. I plan on deleting it and reinstalling it, but I do not wish for them to lose the mail that they have. They have about 5 mail accounts setup, and I'd like to keep them / back them up before I delete the account and recreate it on the server.

    Thanks in advance for the advice.
     
  2. tweakservers

    tweakservers Well-Known Member

    Joined:
    Mar 30, 2006
    Messages:
    379
    Likes Received:
    0
    Trophy Points:
    16
    you may run the backup for /scripts/pkgacct CpanelUsername via root to run a full backup for the user.
     
  3. codegirl42

    codegirl42 Well-Known Member

    Joined:
    Mar 9, 2006
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    6

    what is a good cmd to run to backup it up?
     
  4. codegirl42

    codegirl42 Well-Known Member

    Joined:
    Mar 9, 2006
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    6
    I was looking for more of a "How-To"...but i found it in another forum:

    Thanks for your help though.
     
  5. codegirl42

    codegirl42 Well-Known Member

    Joined:
    Mar 9, 2006
    Messages:
    93
    Likes Received:
    0
    Trophy Points:
    6
    I was looking for more of a "How-to"....but i found it in another forum:

    Code:
    Login Via root and type this
    
    cd /scripts
    ./pkgacct username
    
    
    Thanks for your help though.
     
  6. tweakservers

    tweakservers Well-Known Member

    Joined:
    Mar 30, 2006
    Messages:
    379
    Likes Received:
    0
    Trophy Points:
    16
    Can you elaborate more? The above command will run a full backup on that particular Cpanel user account.

    Optionally, you may also generate a full backup via the user's Cpanel control panel
     
  7. tweakservers

    tweakservers Well-Known Member

    Joined:
    Mar 30, 2006
    Messages:
    379
    Likes Received:
    0
    Trophy Points:
    16
    looks like you have found the answer for your own. The command I pasted on my first reply will work the same way as you get from another thread. :)
     
  8. mambovince

    mambovince Well-Known Member

    Joined:
    Jan 15, 2005
    Messages:
    192
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    London, UK
    It doesn't answer the original question though.
    Is there a command to backup just yhe email accounts?
    Thanks,

    - Vince
     
  9. tweakservers

    tweakservers Well-Known Member

    Joined:
    Mar 30, 2006
    Messages:
    379
    Likes Received:
    0
    Trophy Points:
    16
    there's none unless you manually zip the whole user's mail directory.
     
Loading...

Share This Page