Backups

How to Back Up and Restore a cPanel Account Over SSH (pkgacct and restorepkg)

As root, run /scripts/pkgacct USERNAME /backup to package one cPanel account (files, databases, email and settings) into /backup/cpmove-USERNAME.tar.gz. Copy the file off the server. To restore it on the same or another cPanel server, put the file in /home and run /scripts/restorepkg /home/cpmove-USERNAME.tar.gz. Restoring over an existing account replaces its data, so test first.

Read article 4 min read
UnderHost Blog

Guides, security notes and news for modern hosting.

Practical, real-world articles on offshore hosting, Linux and cPanel administration, server security and the technology behind our network, written by the UnderHost team.

Popular topics

Quick actions