The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

account data (/home/...) location in backups

Discussion in 'Data Protection' started by m8ryx, Nov 13, 2011.

  1. m8ryx

    m8ryx Registered

    Joined:
    Oct 13, 2008
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I'm trying to verify that we are capturing user files under /home in the backups, as well as mysql backups, and can't figure out where, though it seems like it should be configured.

    We are using WHM 11.30.4 (build 6)

    I've been testing our backup configuration using
    /scripts/cpbackup --force

    # tail -f /usr/local/cpanel/logs/cpbackup/1321217507.log
    /bin/gtar: Removing leading `/' from member names
    /bin/gtar: Removing leading `/' from member names
    /bin/gtar: Removing leading `/' from member names
    /bin/gtar: Removing leading `/' from member names
    /bin/gtar: Removing leading `/' from member names
    /bin/gtar: Removing leading `/' from member names
    [cpbackup] Running account backup with target : /backup/cpbackup/weekly
    [cpbackup] The following backups were already up to date: monthly
    [cpbackup] Completed at Sun Nov 13 12:52:40 2011
    Notification => ***@***.com via EMAIL [level => 2]

    ==================================

    Our backup configuration is as follows:
    BACKUPRETWEEKLY 1
    BACKUPENABLE yes
    BACKUPFILES yes
    MYSQLBACKUP accounts
    BACKUPLOGS no
    BACKUPTYPE normal
    USEBINARYPKGACCT no
    BACKUPINC no
    GZIPRSYNCOPTS --rsyncable
    BACKUPFTPHOST
    BACKUPFTPUSER
    LOCALZONESONLY no
    BACKUPMOUNT no
    BACKUPCHECK yes
    BACKUPRETMONTHLY 1
    BACKUP2 yes
    BACKUPFTPDIR
    BACKUPACCTS yes
    LINKDEST no
    BACKUPFTPPASSIVE no
    BACKUPRETDAILY 1
    BACKUPINT daily
    BACKUPDIR /backup
    COMPRESSACCTS yes
    BACKUPDAYS 0,1,2,3,4,5,6
    DIEIFNOTMOUNTED no

    ====================

    The files/dirs under /backup are:

    # find /backup/cpbackup/
    /backup/cpbackup/
    /backup/cpbackup/monthly
    /backup/cpbackup/monthly/cpbackupstatus.cfg
    /backup/cpbackup/monthly/dirs
    /backup/cpbackup/monthly/dirs/_etc_proftpd.tar.gz
    /backup/cpbackup/monthly/dirs/_etc_ssl.tar.gz
    /backup/cpbackup/monthly/dirs/_etc_vfilters.tar.gz
    /backup/cpbackup/monthly/dirs/_etc_valiases.tar.gz
    /backup/cpbackup/monthly/dirs/_var_named.tar.gz
    /backup/cpbackup/monthly/dirs/_usr_local_frontpage.tar.gz
    /backup/cpbackup/monthly/dirs/_var_spool_cron.tar.gz
    /backup/cpbackup/monthly/dirs/_usr_local_cpanel_3rdparty_mailman.tar.gz
    /backup/cpbackup/monthly/dirs/_etc_vdomainaliases.tar.gz
    /backup/cpbackup/monthly/dirs/_var_lib_rpm.tar.gz
    /backup/cpbackup/monthly/dirs/_var_cpanel.tar.gz
    /backup/cpbackup/monthly/dirs/_var_log_bandwidth.tar.gz
    /backup/cpbackup/monthly/files
    /backup/cpbackup/monthly/files/_usr_local_apache_conf_httpd.conf.gz
    /backup/cpbackup/monthly/files/_etc_group.gz
    /backup/cpbackup/monthly/files/_etc_httpd_conf_httpd.conf.gz
    /backup/cpbackup/monthly/files/_etc_passwd.gz
    /backup/cpbackup/monthly/files/_etc_named.conf.gz
    /backup/cpbackup/monthly/files/_etc_exim.conf.localopts.gz
    /backup/cpbackup/monthly/files/_etc_shadow.gz
    /backup/cpbackup/monthly/files/_etc_fstab.gz
    /backup/cpbackup/monthly/files/_root_.my.cnf.gz
    /backup/cpbackup/monthly/files/_etc_my.cnf.gz
    /backup/cpbackup/monthly/files/_etc_ips.gz
    /backup/cpbackup/monthly/files/_etc_exim.conf.gz
    /backup/cpbackup/monthly/files/_etc_secondarymx.gz
    /backup/cpbackup/monthly/files/_etc_quota.conf.gz
    /backup/cpbackup/monthly/files/_etc_rndc.conf.gz
    /backup/cpbackup/monthly/files/_etc_localdomains.gz
    /backup/cpbackup/monthly/files/_etc_wwwacct.conf.gz
    /backup/cpbackup/monthly/files/_etc_remotedomains.gz
    /backup/cpbackup/weekly
    /backup/cpbackup/weekly/cpbackupstatus.cfg
    /backup/cpbackup/weekly/dirs
    /backup/cpbackup/weekly/dirs/_etc_proftpd.tar.gz
    /backup/cpbackup/weekly/dirs/_etc_ssl.tar.gz
    /backup/cpbackup/weekly/dirs/_etc_vfilters.tar.gz
    /backup/cpbackup/weekly/dirs/_etc_valiases.tar.gz
    /backup/cpbackup/weekly/dirs/_var_named.tar.gz
    /backup/cpbackup/weekly/dirs/_usr_local_frontpage.tar.gz
    /backup/cpbackup/weekly/dirs/_var_spool_cron.tar.gz
    /backup/cpbackup/weekly/dirs/_usr_local_cpanel_3rdparty_mailman.tar.gz
    /backup/cpbackup/weekly/dirs/_etc_vdomainaliases.tar.gz
    /backup/cpbackup/weekly/dirs/_var_lib_rpm.tar.gz
    /backup/cpbackup/weekly/dirs/_var_cpanel.tar.gz
    /backup/cpbackup/weekly/dirs/_var_log_bandwidth.tar.gz
    /backup/cpbackup/weekly/files
    /backup/cpbackup/weekly/files/_usr_local_apache_conf_httpd.conf.gz
    /backup/cpbackup/weekly/files/_etc_group.gz
    /backup/cpbackup/weekly/files/_etc_httpd_conf_httpd.conf.gz
    /backup/cpbackup/weekly/files/_etc_passwd.gz
    /backup/cpbackup/weekly/files/_etc_named.conf.gz
    /backup/cpbackup/weekly/files/_etc_exim.conf.localopts.gz
    /backup/cpbackup/weekly/files/_etc_shadow.gz
    /backup/cpbackup/weekly/files/_etc_fstab.gz
    /backup/cpbackup/weekly/files/_root_.my.cnf.gz
    /backup/cpbackup/weekly/files/_etc_my.cnf.gz
    /backup/cpbackup/weekly/files/_etc_ips.gz
    /backup/cpbackup/weekly/files/_etc_exim.conf.gz
    /backup/cpbackup/weekly/files/_etc_secondarymx.gz
    /backup/cpbackup/weekly/files/_etc_quota.conf.gz
    /backup/cpbackup/weekly/files/_etc_rndc.conf.gz
    /backup/cpbackup/weekly/files/_etc_localdomains.gz
    /backup/cpbackup/weekly/files/_etc_wwwacct.conf.gz
    /backup/cpbackup/weekly/files/_etc_remotedomains.gz

    =============================

    How do I verify that everything is backed up appropriately? I don't see any files that look like db or /home.

    thanks!
    rick
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,455
    Likes Received:
    195
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    How many accounts are on this server? I don't see any in this output.
     
  3. minosjl

    minosjl Well-Known Member

    Joined:
    Jun 4, 2011
    Messages:
    168
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    India
    cPanel Access Level:
    Root Administrator
    if you are talking about the database and /home dir of your accounts , you can view this by untar the backup file and cd in to the dir here you will see the mysql and home dir's ,Please update us if this is you are looking for....:)
     
Loading...

Share This Page