Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

cpbackup -- touch: No such file or directory

Discussion in 'Data Protection' started by astopy, Dec 18, 2009.

  1. astopy

    astopy Well-Known Member

    Joined:
    Apr 3, 2003
    Messages:
    166
    Likes Received:
    0
    Trophy Points:
    166
    cPanel Access Level:
    Root Administrator
    I have three servers, all of which are configured to back up to a CIFS share. On two of the servers, cpbackup bails out with "touch: cannot touch `/nas-backup/(hostname)/cpbackup/daily': No such file or directory", where /nas-backup is the mount point for the CIFS share (which is always mounted) and the backup destination in WHM is /nas-backup/(hostname).

    All three servers are configured identically (as far as I can see), and cpbackup works when I run it manually. Any ideas?
     
  2. viraj

    viraj Well-Known Member

    Joined:
    Sep 28, 2006
    Messages:
    209
    Likes Received:
    1
    Trophy Points:
    166
    Location:
    India
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Through which user is this cron/cpbackup run/configured? It has to be root to be more specific to perform such tasks..
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. rgpayne

    rgpayne Well-Known Member

    Joined:
    Feb 25, 2003
    Messages:
    72
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Texas
    Perm. mount --

    check your conifgure under backup configurations and see if they match server by server


     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. astopy

    astopy Well-Known Member

    Joined:
    Apr 3, 2003
    Messages:
    166
    Likes Received:
    0
    Trophy Points:
    166
    cPanel Access Level:
    Root Administrator
    It's in root's crontab on all three servers.

    After diffing /etc/cpbackup.conf, the only difference between servers is the hostname in the backup destination.

    At the moment I'm thinking that the CIFS connection might be timing out on two of the servers -- I assumed that the network would be able to handle all three running at once, but maybe not. I'll reschedule them and see what happens.
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice