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.

manual backup of one cpanel account from command line

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

  1. xtego

    xtego Registered

    Joined:
    May 11, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    649
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    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.
     
Loading...

Share This Page