Backup Error
Hi friends! I have a problem with my backup. I use NFS to backup my files and always worked well, but, today i received an email that said:
Apparently Cpanel is trying to change the permissions of my dir. Someone can help me? Thanks!
The system failed to set permissions on "/backup" to "0711" because of an error: Opera""o n"o permitida
at /usr/local/cpanel/Cpanel/Exception.pm line 151.
Cpanel::Exception::new("Cpanel::Exception::IO::ChmodError", HASH(0x1d7d110)) called at /usr/local/cpanel/Cpanel/Exception.pm line 57
Cpanel::Exception::create("IO::ChmodError", HASH(0x1d7d110)) called at /usr/local/cpanel/Cpanel/Autodie.pm line 425
Cpanel::Autodie::chmod(457, "/backup") called at /usr/local/cpanel/bin/backup line 863
bin::backup::_mkdir_set_mode("/backup", 457) called at /usr/local/cpanel/bin/backup line 853
bin::backup::setup_backup_directories("/backup") called at /usr/local/cpanel/bin/backup line 298
bin::backup::run("bin::backup") called at /usr/local/cpanel/bin/backup line 101
[2015-10-16 02:00:02 -0300] info [Autodie] Final state is Backup::Failure (0)
Apparently Cpanel is trying to change the permissions of my dir. Someone can help me? Thanks!
-
I've received the same error, any way to turn off the chmoding? Adding "no_root_squash" to the nfs share fixed my issue, but I was trying to avoid having to do that. Would love to hear if there's a different solution. Thanks, 0 -
Hello :) Internal case CPANEL-2066 is open to address an issue where backup generations fail on cPanel version 11.52 if the attempt to update permissions on the backup directory fails. There's currently no specific time frame available on a resolution, but you can monitor our change log for this case number at: 11.52 Change Log - Documentation - cPanel Documentation Thank you. 0 -
Hi all, In our case a simple workaround did the trick, we have an NFS share for backup purposes and received the same error message regarding chmod 0711 to mounted folder. create a subdir inside the mounted folder and move all existing backup directories into it. mkdir /backup/mountedfolder/newsubdir cd /backup/mountedfolder/newsubdir mv ../monthly . mv ../weekly . mv ../2015* . verify that: chmod 0711 /backup/mountedfolder/newsubdir works ok and then change backup configuration in WHM to the new subdir. you can force run a backup by running: /usr/local/cpanel/bin/backup --force let me know if it helped you 0 -
I am happy to see you were able to implement a suitable workaround. To update, there's currently no time frame to provide for a resolution to this issue. Thank you. 0
Please sign in to leave a comment.
Comments
5 comments