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.

daily backup - already up to date?

Discussion in 'Data Protection' started by TaneNZ, Nov 4, 2008.

  1. TaneNZ

    TaneNZ Active Member

    Joined:
    Apr 11, 2007
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    hey guys, I didn't get my usual backup notification email, and looking at the logs the backups never truly ran!

    [cpbackup] Started at Wed Nov 5 01:00:02 2008
    [cpbackup] Daily Backup is up to date.
    [cpbackup] Completed at Wed Nov 5 01:00:02 2008

    Why on earth does the backup script think the backups are up to date? it's supposed to run daily.

    any help or ideas as to why it didn't would be greatly appreciated
     
  2. sirotex

    sirotex Well-Known Member

    Joined:
    Jul 10, 2008
    Messages:
    121
    Likes Received:
    0
    Trophy Points:
    16
    The reason it thinks they're up-to-date is due to the fact there is already a backup in your dir (daily/weekly/monthly) that you set backups to go to.
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,478
    Likes Received:
    203
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    What backup settings are you using?
     
  4. TaneNZ

    TaneNZ Active Member

    Joined:
    Apr 11, 2007
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    I'm using;

    backup interval: daily
    rentention: daily, weekly, monthly
    days to run: all
    re/unmount backup drive: no
    bail out if backup drive mount fails: no
    incremental: no
    backup accounts: yes
    backup configs: yes
    backup sql: per account + entire dir
    backup access logs: no
    backup type: standard
    backup dir: /backup

    and it's been going fine for a while. However the past week, there've been a few days where it hasn't run...

    [root@hutch cpbackup]# ls -lh
    total 15M
    -rw------- 1 root root 1.8M Oct 28 04:11 1225108801.log
    -rw------- 1 root root 1.8M Oct 29 03:53 1225195202.log
    -rw------- 1 root root 1.8M Oct 30 04:02 1225281602.log
    -rw------- 1 root root 1.8M Oct 31 04:22 1225368002.log
    -rw------- 1 root root 1.8M Nov 1 04:16 1225454402.log
    -rw------- 1 root root 135 Nov 2 01:00 1225540801.log
    -rw------- 1 root root 1.8M Nov 3 04:29 1225627202.log
    -rw------- 1 root root 1.8M Nov 4 04:07 1225713601.log
    -rw------- 1 root root 135 Nov 5 01:00 1225800002.log
    -rw------- 1 root root 1.8M Nov 6 04:01 1225886402.log
    -rw------- 1 root root 135 Nov 7 01:00 1225972801.log

    the files with size '135' are days the backup script thought they were already "up to date"

    I don't know why..
     
  5. sparek-3

    sparek-3 Well-Known Member

    Joined:
    Aug 10, 2002
    Messages:
    1,384
    Likes Received:
    23
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Did you restore any accounts from the daily backup recently or more specifically on the days in question?
     
  6. efeito

    efeito Well-Known Member
    PartnerNOC

    Joined:
    Jul 24, 2003
    Messages:
    141
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    .pt
    We found this problem on one server too. But only on this server, all the others (identical) are ok.

    The backup was forced yesterday, and the files on daily folder are from 6/nov/2008, and today, cpbackup didn't run and with the message that "Daily Backup is up to date"
     
Loading...

Share This Page