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.

Error when Backing up Accounts by Remote FTP

Discussion in 'General Discussion' started by bgqs, Nov 21, 2009.

  1. bgqs

    bgqs Member

    Joined:
    May 24, 2007
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    I have setup backups by ftp. All accounts are backing up correctly however, there is one which terminates before backing up all files.

    Here is the error:

    Code:
    Copying homedir..../bin/gtar: ./public_html/forum/cache/sql_217e82aeafd918be1d666180944aafcf.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/sql_b738a58f9c2bc2e8b752fa4cb9efda58.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/sql_0e512ea056623ac5d4a34dfcece03ffe.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/sql_c68aa0f0a6c1de015f39c2f9e23cb33e.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/tpl_acidtech_ucp_pm_viewfolder.html.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/sql_60bc5250460189fdb65d3dcd7377ff97.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/sql_9e894fb12f32178d231747c61100bce3.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/sql_035961ce9cda50a134f4d406c1b89425.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/tpl_acidtech_attachment.html.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/sql_08ac3c1a121cc784fd2388e9b6d7a3c3.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/data_global.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/sql_9dc91161799801b44926b824ccc5cf51.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/sql_6fd3e9bbf4aa2eb0d244d3d0f1048af3.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/sql_b1ef49a110a43e07969c3f19e4112763.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/sql_78eba7113ae7a5a3ac9610abcb000d23.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/sql_aa9d9d8805040a24269784c27b6a8083.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/sql_10cb888d905aaa4401fb69c1450eaa97.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/tpl_acidtech_overall_footer.html.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/sql_c80823a50439f383b05aff2ce423b3b8.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/tpl_acidtech_ucp_pm_viewmessage.html.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/sql_49fddebf6f95a9691828bbbe1e5476a3.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/sql_e4a8123c1ab1a32eb3e838599cba5637.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/tpl_acidtech_posting_buttons.html.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/data_role_cache.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/sql_f61e215e2616b551c55a8359ed261f19.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/sql_b152bea2b86cc301f01da4d7125e73ba.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/tpl_acidtech_posting_topic_review.html.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/sql_a40eedff44b609c895f8c82358383940.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/tpl_acidtech_viewtopic_body.html.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/sql_795934df9fcad9e9f81dbb43c1704130.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/sql_c4ae32e15247e0a552df8670e86c291d.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/sql_ab4252076cbf9bebc05cd8bd66ed4c12.php: Cannot open: Permission denied
    /bin/gtar: ./public_html/forum/cache/tpl_acidtech_posting_review.html.php: Cannot open: Permission denied
    /bin/gtar: Error exit delayed from previous errors
    Notice this dir is a cache dir whose permission is CHMOD to 777. The cached php files are not 777.

    Cpanel terminate during the backup and moves onto databases and mail etc.

    How can I prevent this happenning ? The forum software is phpbb.

    Thanks
     
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,474
    Likes Received:
    202
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    You could either set that directory to be bypassed using this method:
    http://forums.cpanel.net/f49/cpbackup-exclude-conf-format-missing-something-117809.html
    More on that here:
    http://forums.cpanel.net/f5/backups-cause-processor-usage-spike-perfomance-crawl-109137.html
    And here:
    http://forums.cpanel.net/f5/cpbackup-exlude-conf-98633.html

    Or even better, move to SuPHP for added security which would prevent any files being owned by "nobody" in that cache, which would solve this problem all together for you.
     
  3. bgqs

    bgqs Member

    Joined:
    May 24, 2007
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Many thanks, suPHP here I come ;)
     
Loading...

Share This Page