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!

Purpose of --userbackup and --backup parameters for pkgacct?

Discussion in 'Data Protection' started by Valetia, Dec 8, 2014.

  1. Valetia

    Valetia Well-Known Member

    Joined:
    Jun 20, 2002
    Messages:
    213
    Likes Received:
    1
    Trophy Points:
    168
    cPanel Access Level:
    Root Administrator
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,367
    Likes Received:
    1,857
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    1. The primary difference here is the name of the archive. If you use the "--userbackup" flag, you will notice the archive is named with the following format:

    Code:
    # backup-12.10.2014_10-14-50_username.tar.gz
    This is how it's named when generated by the user from cPanel.

    2. The "--backup" flag stores and names the archive appropriately for restoration from the backup directory on your system similar to the automatic backups generated through the cPanel backup script. EX:

    Code:
    /scripts/pkgacct --backup cptest01 /backup
    pkgacctfile is: /backup/cptest01.tar.gz
    Thank you.
     
    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