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!

manual backup of one cPanel account from command line

Discussion in 'Data Protection' started by xtego, May 31, 2016.

  1. xtego

    xtego Registered

    May 11, 2016
    Likes Received:
    Trophy Points:
    Williamsport, PA
    cPanel Access Level:
    Root Administrator
    I'm trying to find a way to backup a single cpanel account using the new backup system.

    "/scripts/pkgacct" - creates the compressed file I need but just puts it in the local /home folder. I need to to export to my webdav additional location as defined in the backup configuration.

    I found a command to force a backup of all accounts using the new backup system:

    /usr/local/cpanel/bin/backup --force

    But how do I force a backup of just one account using the new backup system?
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator

    You would have to manually copy the archived backup file to the remote destination after backing it up through "/scripts/pkgacct", or you would have to temporarily exclude all users except for the one you want copied before running the "/usr/local/cpanel/bin/backup --force". You can do this via:

    "WHM >> Backup >> Backup User Selection"

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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