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!

Partial backup didn't include email accounts

Discussion in 'Data Protection' started by albatroz, Mar 21, 2019.

  1. albatroz

    albatroz Well-Known Member

    Joined:
    Mar 6, 2003
    Messages:
    350
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Virtual Orbis / Peru
    cPanel Access Level:
    Root Administrator
    Early today I made a partial backup of an account using the command /scripts/pkgacct --skiphomedir XXX
    however when I restored the backup file to another server
    I noticed that the email accounts weren't created

    I used this command before and WHM/CPanel created the folders for email accounts.
    So I don't know what may have changed.
    Do you?

    My purpose is migrate the email messages later using rsync
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #1 albatroz, Mar 21, 2019
    Last edited by a moderator: Mar 21, 2019
  2. albatroz

    albatroz Well-Known Member

    Joined:
    Mar 6, 2003
    Messages:
    350
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Virtual Orbis / Peru
    cPanel Access Level:
    Root Administrator
    I need to migrate a CPanel account that is using 90% of the disk space of a VPS
    so I can't use CPanel migration tools.
    I thought I could use the pkgacct command in this case and migrate mailboxes contents with rsync later but I got the following response from CPanel support.

    Can you give me a suggestion?

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,476
    Likes Received:
    506
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @albatroz


    Are they present in the archive? skiphomedir will skip the user's home dir and mail is stored in /home/$user/mail
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. albatroz

    albatroz Well-Known Member

    Joined:
    Mar 6, 2003
    Messages:
    350
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Virtual Orbis / Peru
    cPanel Access Level:
    Root Administrator
    No they aren't. That is why I am looking for alternative methods to finish the migration.

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. albatroz

    albatroz Well-Known Member

    Joined:
    Mar 6, 2003
    Messages:
    350
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Virtual Orbis / Peru
    cPanel Access Level:
    Root Administrator
    On this other forum someone suggested me to disable 'Compressed' option in the WHM transfer menu.
    webhostingtalk.com/showthread.php?t=1757622
    What do you think?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #5 albatroz, Mar 23, 2019
    Last edited by a moderator: Mar 23, 2019
  6. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,476
    Likes Received:
    506
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @albatroz


    I'm curious, you mentioned your end goal was to rsync the data from the current server to the new server - is there a reason you can't rsync it directly from the current account?

    As far as the compressed suggestion:

    Transfer Tool - Version 78 Documentation - cPanel Documentation
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. albatroz

    albatroz Well-Known Member

    Joined:
    Mar 6, 2003
    Messages:
    350
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Virtual Orbis / Peru
    cPanel Access Level:
    Root Administrator
    So according to your reply I could have left the compress option enabled and the transfer of the account with 20GB of data would have finished despite the fact that the source server only has 4GB of free disk space?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,476
    Likes Received:
    506
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Hi @albatroz


    That is not what I'm relaying. I'm saying that either way a copy of the account is made and sent to the destination server but it's got to be created on the source server. If there's not enough space on the source server to create this then you will not be able to transfer.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. albatroz

    albatroz Well-Known Member

    Joined:
    Mar 6, 2003
    Messages:
    350
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    Virtual Orbis / Peru
    cPanel Access Level:
    Root Administrator
    I still can't understand how could make WHM to transfer an account with 20GB of data if the source server
    only has 4GB of free disk space.

     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,476
    Likes Received:
    506
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Again, this can't be done, you need the amount of space a full backup takes on the source server, otherwise, this process will fail unless you're doing one account at a time and the account's backup does not consume more than 4GB
     
    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