Can you tell me the contents of a cPanel Backup Tarball? Print

  • 0

Question

Can you tell me the contents of a cPanel Backup Tarball?

 

Answer

When you create a backup, the system creates a tarball (.tar.gz) file, which contains compressed versions of an account’s files. The system uses the USERNAME.tar.gz file format, where USERNAME is the cPanel account’s username.

 

To view the contents of this file, you can download the tar.gz file and extract its contents.

 

The most common items that are asked about are the home directory and the MySQL database dumps.

 

The user's home directory contents will be found within the homedir directory in the tarball. Such examples would be the following:

  • homedir/public_html
  • homedir/mail

 

The database dump files can be found withint the mysql directory in the tarball. If you are looking for a database dump file for the "cpuser_dbname" database it would be found here:

  • mysql/cpuser_dbname.sql

 

For a full listing of the directories and tarball structure please see out documentation.

https://docs.cpanel.net/knowledge-base/backup/backup-tarball-contents/


Was this answer helpful?
Back

Send Message