Parrue

Member
Jun 29, 2011
9
0
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
 

Rhuan

Active Member
Nov 10, 2010
43
0
56
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
 

harmeet

Member
Apr 18, 2013
6
0
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 :) !
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,260
463
Hello :)

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

Code:
/scripts/pkgacct $username
Thank you.