Skip to main content

Errors while backup

Comments

3 comments

  • cPanelMichael
    Hello :) Check the permission/ownership values on the directory you referenced in the output: [QUOTE]/home/user/public_html/commandes/267
    It's likely owned by the "root" user, and thus it's not backed up. Thank you.
    0
  • jonathanlafleur
    Thank you for your reply Michael, Theses folder have the right user permission, they are owned by user and group expedi, maybe it's the permission they have who is to strict d-wxr----t (340) What do you think could be better ? For the other part (permission in /home/backup) that look really strange, I have some folder owned by backup, and other by root ? [/home/backup]# ls -la total 76 drwx--x--x 14 backup backup 4096 23 jun 04:15 ./ drwx--x--x 116 root root 4096 21 jun 03:44 ../ drwx--x--x 4 root root 4096 21 jun 02:00 2014-06-21/ drwx--x--x 4 root root 4096 23 jun 02:00 2014-06-23/ lrwxrwxrwx 1 backup backup 32 17 jun 16:33 access-logs -> /usr/local/apache/domlogs/backup/ -rw-r--r-- 1 backup backup 18 21 f"v 2013 .bash_logout -rw-r--r-- 1 backup backup 176 21 f"v 2013 .bash_profile -rw-r--r-- 1 backup backup 124 21 f"v 2013 .bashrc -rw------- 1 backup backup 17 17 jun 16:21 .contactemail drwxr-xr-x 2 backup backup 4096 17 jun 16:21 .cpanel/ -rw-r----- 1 backup backup 1 18 jun 04:23 cpbackup-exclude.conf drwxr-x--- 2 backup mail 4096 17 jun 16:21 etc/ drwxr-x--- 2 backup nobody 4096 17 jun 16:21 .htpasswds/ drwx------ 2 backup backup 4096 17 jun 16:33 logs/ drwxr-x--- 8 backup backup 4096 17 jun 16:21 mail/ drwxr-x--- 3 backup backup 4096 17 jun 16:21 public_ftp/ drwxr-x--- 3 backup nobody 4096 17 jun 16:21 public_html/ drwxr-xr-x 5 backup backup 4096 18 jun 04:23 ssl/ drwxr-xr-x 2 backup backup 4096 17 jun 16:21 tmp/ drwx--x--x 3 root root 4096 19 jun 02:00 weekly/ lrwxrwxrwx 1 backup backup 11 17 jun 16:21 www -> public_html/ Thank you for your help again !
    0
  • cPanelMichael
    It looks like you created an actual account with the username "backup" instead of just creating the directory. I suggest using a different directory for backups if you plan to have an actual account with the "backup" username. As for the other issue you referenced, 0755 are the default directory permissions. Are you using 0340 permissions on that directory on purpose to limit access to it? Thank you.
    0

Please sign in to leave a comment.