
Originally Posted by
rene123
I have the same question. In which tar is my www files located? Got one named _var_lib_mysql_.tar.gz so that seems to be the sql, but where is the www files?
Per-user home directory data will be stored in a directory "homedir" or uncompressed tar archive "homedir.tar" that is saved within the unique directory or gzip-compressed tar archive of each user's full cPanel account backup; this will require that the option "Backup Accounts" is enabled via WHM: Main >> Backup >> Configure Backup.
Here is an example path for uncompressed daily backups:
Code:
/backup/cpbackup/daily/$username/homedir/public_html
For compressed backups, look for an archive at a path like the following:
Code:
/backup/cpbackup/daily/$username.tar.gz
Here is an example that can be used as a guide to locate the public_html directory within a full cPanel account backup; these steps include both how to generate a full cPanel account backup as well as uncompress and extract the data and subsequently locate the public_html directory; this could be performed via root SSH access while ensuring to replace "$username" with the actual cPanel account username:
Code:
# /scripts/pkgacct $username
# cd /home
# tar -xzvf cpmove-$username.tar.gz
# cd cpmove-$username
# tar -xvf homedir.tar -C homedir
# cd homedir/public_html
# ls -ahl /home/cpmove-$username/homedir/public_html