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!

/scripts/pkgacct

Discussion in 'General Discussion' started by Parrue, Aug 23, 2013.

  1. Parrue

    Parrue Member

    Joined:
    Jun 29, 2011
    Messages:
    9
    Likes Received:
    0
    Trophy Points:
    51
    Hello,

    Can you help me ,please?

    A technician told me to put this command

    /scripts/pkgacct --skipacctdb $user

    But now he does not backup the database. it is skipping the all database user.

    I need the command (/scripts/pkgacc) also do the backup of the databases ie with its original configuration by backing up everything.

    Which the command (/scripts/pkgacct) returns to its original configuration, to make a full backup.

    Tks,

    Joana
     
  2. Rhuan

    Rhuan Active Member

    Joined:
    Nov 10, 2010
    Messages:
    39
    Likes Received:
    0
    Trophy Points:
    56
    Location:
    Brazil
    cPanel Access Level:
    Root Administrator
    Hi, using the argument --skipacctdb will skip all databases of account, in this case you have to use only /scripts/pkgacct to make a full backup of account (files, emails, cronjob, databases...)...

    If you want to make backup only a database you have to use mysqldump or...
    1 - Go to phpMyAdmin -> Select DB -> Export
    2 - Go to cPanel -> Backup Wizard -> Backup -> MySQL Databases

    Example of use mysqldump:

    Code:
    mysqldump -u USER -pPASS  DABABASE NAME > DATABASE BACKUP FILE.sql 
     
  3. harmeet

    harmeet Member

    Joined:
    Apr 18, 2013
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hi,

    You are skipping MySQL backup by using "--skipacctdb" option, Simply run /scripts/pkgacct $username it will backup everything that is related to that account.

    Thanks :) !
     
  4. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

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

    Yes, if you do not want to skip the databases, the command will be:

    Code:
    /scripts/pkgacct $username
    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