Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    Jan 2010
    Posts
    5

    Default Can not find users home dirs/sql in WHM Backup

    I have a backup configured to backup to a remote drive mounted as /backups. The account and Cpanel setting seem to be saved in weekly and monthly in directories named files and dirs as _etc_***, _var_***, _usr_*** but there is no home directory backup. The logs show report as follows


    [cpbackup] Started at Tue Feb 2 01:00:01 2010
    [cpbackup] Weekly Backup is up to date.
    [cpbackup] Completed at Tue Feb 2 01:00:01 2010

    Did I miss something, does the whm backup backup all files in home or should I setup a seperate cron job and script?

  2. #2
    Member
    Join Date
    Jan 2010
    Posts
    5

    Default

    I changed some options and re-saved the backup config including re-saving specific users and ticking all accounts and looks like the home directories are now saved under weekly folder.

  3. #3
    Member
    Join Date
    Feb 2009
    Posts
    12

    Default

    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?
    My site "Webbhotell".

  4. #4
    cPanel Quality Assurance Analyst cPanelDon's Avatar
    Join Date
    Nov 2008
    Location
    Houston, Texas, U.S.A.
    Posts
    2,554
    cPanel/Enkompass Access Level

    DataCenter Provider

    Default

    Quote Originally Posted by rene123 View Post
    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

Similar Threads & Tags
Similar threads

  1. Install dirs in /home
    By shacker23 in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-02-2006, 04:51 AM
  2. WHM/Cpanel Backup not compressing mysql dirs (possible bug?)
    By vissa in forum cPanel and WHM Discussions
    Replies: 10
    Last Post: 05-18-2005, 09:11 AM
  3. Home dirs on NFS - POP3 Failing
    By rharby in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 02-26-2005, 12:35 AM
  4. non-user dirs in home?
    By RavenSoul_ in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 01-28-2005, 11:01 AM
  5. How do I find out which domain=which dirs in SSH?
    By fog in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 09-04-2002, 03:12 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube