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.

/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:
    1
    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:
    6
    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 Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    652
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page