Skip to main content

Can not backup account

Comments

8 comments

  • cPanelMichael
    ] And I tried to use pkgacct script to backup in ssh screen. But there are four folder in the /home/ and a packgage: cpmove-abc.0, cpmove-abc.1, cpmove-abc-split and cpmove-abc.tar.gz. This backup process took nearly 8 hours.

    Hello :) It's possible the backup process failed on the initial attempt. You could delete the existing backup archives, and run another backup generation in "screen" via:
    /scripts/pkgacct $username
    Make sure there's enough disk space to complete the backup process, and then move the archive to the destination server when it's finished. Thank you.
    0
  • doanminhchau
    Hi Michael, Thank for your advice. I think the issue come from the mailman, this account has 6 emails and too much data in the folder (nearly 30GB) /usr/local/cpanel/3rdparty/mailman/archives/private. I used /script/pkgacct to backup and the backup process took nearly 10 hours, and finally the backup process finished but archive can not be created. I tried to use the backup folder cpmove-abc to restore this account and it too nearly 8 hours to restore. It took much time to restore this account. Thanks,
    0
  • cPanelMichael
    Could you verify if this post from cPanelTristan is helpful? Could you simply move the mailman archives out of the way for the user?
    cd /usr/local/cpanel/3rdparty/mailman/archives/private mv listname_domain.com /home mv listname_domain.com.mbox /home
    After the account has been packaged and moved over, you could then simply try to manually copy over the archives to the new machine with scp. Thank you.
    0
  • doanminhchau
    Hi Michael, Thanks for your support, I cannot move user's mailman data because this server is still serving users daily. I tried to use /script/pkgacct to backup user, it took too long, then I have a cpmove_account folder, I tried to delete some data in cpmove_account/priv/ and the restore progess can run faster, then I use rsync to migrate data in /usr/local/cpanel/3rdparty/mailman/archives/private from current server to the new server. I think transfer tool is working perfectly, but in WHM>>Account Information>> List Account, the column Disk Used only appears 0 value. I dont know why. Thanks,
    0
  • cPanelMichael
    ] I think transfer tool is working perfectly, but in WHM>>Account Information>> List Account, the column Disk Used only appears 0 value. I dont know why.

    Have you enabled quotas on the destination server? If so, try running:
    /scripts/fixquotas
    Feel free to open a support ticket using the link in my signature if the issue persists. You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0
  • doanminhchau
    Hi Michael, with your scripts /scripts/fixquotas, I tried on my testing server, this script will change quota of all users to 0M, I dont know why. Sorry, I have some issues with some accounts, these accounts cannot connect to phpMyadmin, I tried to change the password of these accounts in WHM and cPanel, but they still cannot connect to phpMyadmin. I'm using newest version of cPanel. Do you have any advice? Thanks for your support.
    0
  • doanminhchau
    Hi Michael, I found the problems why these accounts can not connect to phpMyadmin and I tried to create an user with the same name and password on localhost: create user 'test'@'172.16.%.%' identified by 'password'. Then user can login to phpMyadmin.
    0
  • cPanelMichael
    ] with your scripts /scripts/fixquotas, I tried on my testing server, this script will change quota of all users to 0M, I dont know why.

    It seems like quota may not be working on your system. Feel free to open a support ticket using the link in my signature so we can take a closer look. You can post the ticket number here so we can update this thread with the outcome. Thank you.
    0

Please sign in to leave a comment.