cPanel ships with two built-in backup mechanisms that pre-date JetBackup and R1Soft: cpbackup (server-wide) and pkgacct (per-account). Most managed environments turn them off because JetBackup is better. They still have niche uses: producing a single portable account archive for migration, on-demand pre-change snapshots, and disaster recovery when JetBackup itself is broken.
What’s happening
pkgacct produces a single tar.gz archive containing one cPanel account’s home directory, mail, databases, configuration, and DNS zone. The output (cpmove-<user>.tar.gz) is the canonical format every cPanel server can ingest via restorepkg. cpbackup runs pkgacct for every account on the server on a schedule. Both write to /backup/ by default.
Running them on a busy server competes with JetBackup for IO. Running both at once is a mistake.
How to verify
ls /usr/local/cpanel/scripts/pkgacct
whmapi1 backup_config_get
cat /var/cpanel/backups/config
df -h /backup
If cpbackup is enabled alongside JetBackup, the two will overlap. Disable cpbackup in WHM > Backup Configuration when JetBackup is the primary backup tool — keep pkgacct available for on-demand use.
The fix
- Disable
cpbackupif JetBackup or R1Soft is the primary. Keep thepkgacctscript for manual use: it’s at/usr/local/cpanel/scripts/pkgacct. - Use
pkgacctfor migration handoff:/usr/local/cpanel/scripts/pkgacct <user> /backup/cpmove. The output is portable to any cPanel host running a compatible version. - Use
pkgacctfor pre-change snapshots: before a major plugin update or PHP version change, capture a single account. It’s faster than a full JetBackup off-cycle run. - After running
pkgacct, verify the archive:tar -tzf /backup/cpmove/cpmove-<user>.tar.gz | headshows the structure. A truncated archive (which happens when/backupfills mid-run) shows up as a tar error here. - Clean up manual archives after use.
/backup/cpmoveis not auto-rotated; leaving 90 days of one-off backups is a guaranteed disk-space ticket later.
For cPanel servers where backup architecture needs to be explicit and documented, Stack Harbor handles it under WHM server management.