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.

Cannot find backup and no backup going to Amazon S3.

Discussion in 'Data Protection' started by Dad123456789, Oct 21, 2014.

  1. Dad123456789

    Dad123456789 Registered

    Joined:
    Oct 21, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    The standard backup system as well as the legacy backup system have been enabled. Two problems I have are that I cannot find the local copies of backups that have automatically been created and backups to Amazon S3 do also not occur. Two log files I have received are as follows:

    Code:
    /bin/gtar: Removing leading `/' from member names
    /bin/gtar: /var/lib/mysql/mysql.sock: socket ignored
    /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
    /bin/gtar: Removing leading `/' from member names
    /bin/gtar: Removing leading `/' from member names
    /bin/gtar: /var/cpanel/dnsadmin/sock: socket ignored
    /bin/gtar: Removing leading `/' from hard link targets
    /bin/gtar: Removing leading `/' from member names
    /bin/gtar: Removing leading `/' from member names
    /bin/gtar: Removing leading `/' from member names
    [backup] System backups will not be uploaded to any remote destinations
    
    and

    Code:
    [cpbackup] Setting I/O priority to reduce system load: best-effort: prio 3
    [cpbackup] Starting full MySQL database backups
    /bin/gtar: Removing leading `/' from member names
    /bin/gtar: /var/lib/mysql/mysql.sock: socket ignored
    [cpbackup] The following backups will be updated: daily
    [cpbackup] Running dir & file backup with target : /backup/cpbackup/daily
    /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
    /bin/gtar: Removing leading `/' from member names
    /bin/gtar: /var/cpanel/dnsadmin/sock: socket ignored
    /bin/gtar: Removing leading `/' from hard link targets
    /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/daily
    [cpbackup] Completed at Mon Oct 20 01:00:34 2014
    Under Backup Configuration in WHM I have:
    Code:
    Backup status: Enable.
    Backup Type: Compressed.
    Maximum Timeout Destination: 2700 seconds.
    Backup Daily: Everyday Selected.
    Backup Accounts: Selected.
    Select Users: Legacy and Other both On.
    Backup Suspended Accounts: Disable.
    Backup Access Logs: Enable.
    Backup Bandwidth Data: Enable.
    Use Local DNS: Disable.
    Databases: Entire mySql Directory.
    Default Backup Directory: /backup
    Retain backups in the default backup directory: Selected.
    Mount backup drive as needed: Disable.
    Amazon S3 account details are entered and validated.
    Legacy Backup is also enabled with similar settings.
    Code:
    root@main [~]# grep -H '' /usr/local/cpanel/version /var/cpanel/envtype
    /usr/local/cpanel/version:11.44.1.18
    /var/cpanel/envtype:standard
    root@main [~]# cat /etc/cpbackup.conf
    BACKUPFTPHOST 
    DIEIFNOTMOUNTED no
    GZIPRSYNCOPTS --rsyncable
    BACKUPACCTS yes
    LINKDEST no
    BACKUPFILES yes
    BACKUPDAYS 0,1,2,3,4,5,6
    BACKUPTYPE normal
    BACKUPRETWEEKLY 0
    COMPRESSACCTS yes
    BACKUPFTPUSER root
    BACKUPMOUNT no
    LOCALZONESONLY no
    BACKUP2 yes
    BACKUPRETDAILY 1
    BACKUPFTPTIMEOUT 120
    POSTBACKUP 0
    BACKUPDIR /backup/legacy/
    MYSQLBACKUP dir
    BACKUPINT daily
    BACKUPBWDATA yes
    BACKUPFTPDIR 
    BACKUPINC no
    BACKUPENABLE yes
    PREBACKUP 0
    BACKUPRETMONTHLY 0
    BACKUPLOGS no
    BACKUPFTPPASSIVE yes
    BACKUPCHECK yes
    Code:
    root@main [~]# zgrep cpbackup /var/log/cron*
    /var/log/cron:Oct 20 01:00:02 main CROND[12988]: (root) CMD (/usr/local/cpanel/scripts/cpbackup)
    /var/log/cron:Oct 21 01:00:01 main CROND[29968]: (root) CMD (/usr/local/cpanel/scripts/cpbackup)
    /var/log/cron-20141012:Oct 11 01:00:01 ip-72-167-34-162 CROND[3231]: (root) CMD (/usr/local/cpanel/scripts/cpbackup)
    /var/log/cron-20141012:Oct 12 01:00:02 main CROND[3230]: (root) CMD (/usr/local/cpanel/scripts/cpbackup)
    /var/log/cron-20141019:Oct 13 01:00:01 main CROND[16187]: (root) CMD (/usr/local/cpanel/scripts/cpbackup)
    /var/log/cron-20141019:Oct 14 01:00:01 main CROND[2296]: (root) CMD (/usr/local/cpanel/scripts/cpbackup)
    /var/log/cron-20141019:Oct 15 01:00:01 main CROND[23457]: (root) CMD (/usr/local/cpanel/scripts/cpbackup)
    /var/log/cron-20141019:Oct 16 01:00:01 main CROND[11440]: (root) CMD (/usr/local/cpanel/scripts/cpbackup)
    /var/log/cron-20141019:Oct 17 01:00:01 main CROND[27526]: (root) CMD (/usr/local/cpanel/scripts/cpbackup)
    /var/log/cron-20141019:Oct 18 01:00:02 main CROND[10531]: (root) CMD (/usr/local/cpanel/scripts/cpbackup)
    /var/log/cron-20141019:Oct 19 01:00:01 main CROND[25938]: (root) CMD (/usr/local/cpanel/scripts/cpbackup)
    root@main [~]# # crontab -l -u root | grep cpbackup
    root@main [~]# /etc/init.d/crond status
    crond (pid 1915) is running...
    root@main [~]# chkconfig --list crond
    crond 0:eek:ff 1:eek:ff 2:eek:n 3:eek:n 4:eek:n 5:eek:n 6:eek:ff
    root@main [~]#
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
  3. Dad123456789

    Dad123456789 Registered

    Joined:
    Oct 21, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Hi,

    Yes both backup and legacy are selected for the 1 user which I have.
     
  4. Dad123456789

    Dad123456789 Registered

    Joined:
    Oct 21, 2014
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Website Owner
    Just an update. I can now see my first backup going into my Amazon S3 bucket but I still can't find any backups via ssh. It's probably something I'm missing but I cannot find any trace of a backup via SSH. Both the back and legacy backup system are enabled via WHM.
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    654
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Feel free to open a support ticket using the link in my signature if you want us to take a closer look. You can post the ticket number here so we can update this thread with the outcome.

    Thank you.
     
Loading...

Share This Page