error "JetBackup failed to delete file/folder"

cPanel, Industry leading hosting platform with world-class support.
Post Reply
havri
Posts: 22
Joined: August 10th, 2017, 4:10 pm

error "JetBackup failed to delete file/folder"

Post by havri »

Hello,

I made some changes in the settings page in Jetbackup -> General Settings -> Workspace Directory. I put /backup/jetbackup_restores as a workspace directory, but I keep getting emails of the form:

Subject: JetBackup failed to delete file/folder
Message body: The path you provided is protected and can't be deleted

The /backup directory is mounted on a separate disk that is used for cPanel backups:

Code: Select all

/dev/sda1 on /backup type ext4 (rw,noatime,data=ordered)
I've looked at the permissions for the /backup folder and for the /backup/jetbackup_restores folder:

Code: Select all

drwx--x--x.   7 root root   4096 Jan 27 02:00 backup
drwxr-xr-x   3 root root  4096 Nov 21 17:55 jetbackup_restores
Is there a problem with permissions on the /backup directory or is it something else? Can someone point me in the right direction?

Thank you.
User avatar
elialum
Staff Member
Staff Member
Posts: 95
Joined: October 25th, 2015, 1:44 pm

Re: error "JetBackup failed to delete file/folder"

Post by elialum »

Havry,

What version of JetBackup are you using ?
Do you have CloudLinux enabled in the general settings ?

Thanks,
Eli.
havri
Posts: 22
Joined: August 10th, 2017, 4:10 pm

Re: error "JetBackup failed to delete file/folder"

Post by havri »

Hello Eli,

I am using the Edge version on both of the affected servers: "Status: Installed - EDGE Tier 3.2.8"

Neither one has Cloudlinux enabled in the "Performance Settings" page. One server has Centos 7 installed and the other one has Cloudlinux but has enabled ionice and renice and the message I get at the LVE entry in the Performance Settings page is "You must disable ionice and renice in order to work with CloudLinux LVE".

The point of this is that our servers have separate partitions for /, /var, /home, /backup, etc. By default, Jetbackup has the workspace set up in "/etc/jetapps/apps/jetbackup/workspace" which is a part of the "/" partition. With some accounts that are big, there is a risk of the "/" partition getting filled, so I want to move the workspace to the /backup partition, which is also used by the cPanel backup (although there shouldn't be any conflicts).

Let me know what other info you need.

Thank you.
User avatar
elialum
Staff Member
Staff Member
Posts: 95
Joined: October 25th, 2015, 1:44 pm

Re: error "JetBackup failed to delete file/folder"

Post by elialum »

Hi,

Version 3.2.8 was just released (24h ago) and should resolve this issue.
Can you confirm the issue is indeed resolved ?

Thanks,
Eli.
havri
Posts: 22
Joined: August 10th, 2017, 4:10 pm

Re: error "JetBackup failed to delete file/folder"

Post by havri »

Hi,

I've run

Code: Select all

jetapps -f update
on both servers and I got the following:

Code: Select all

[root@server1 ~]# jetapps -f update
No update/install package is available for jetapps
No update/install package is available for jetapps-repo
No update/install package is available for jetapps-cpanel
No update/install package is available for jetbackup
But looking at the cron job reports, I now see that on one server the cron was able to delete the system log:

Code: Select all

[05/Feb/2018 01:00:02 +0200] Deleting System log "/usr/local/jetapps/var/log/jetbackup/system/daily_1515193201.log" creation date 06 January 2018 01:00 AM (database record)...DONE
On previous dates, the output showed me that it failed, but it didn't show the actual file/folder that had problems:

Code: Select all

[04/Feb/2018 01:00:01 +0200] Deleting log "" creation date 01 January 1970 02:00 AM...FAILED

Most probably the problem is solved by now, but I'll see if it's true only on the next run.

Thank you for your support.

Best regards.
User avatar
elialum
Staff Member
Staff Member
Posts: 95
Joined: October 25th, 2015, 1:44 pm

Re: error "JetBackup failed to delete file/folder"

Post by elialum »

Hi,

Thank you very much for keeping us updated :)

Thanks,
Eli.
Post Reply