Backup failing : You have to provide a canonical path: /omd/backups

CMK version: CRE 2.2.0p6 (Updated to p6 after screenshot was taken)
OS version: Ubnuntu 20.04.6

**Error message: You have to provide a canonical path: /omd/backups **

I am not able to set the path on an existing job or new job.

The is not option to specify the path as seen in the manual here : Backups - Backing up and restoring data

Hi,
how did you configure the “Local Backup” target in Setup > Backups > Backup targets?

Karl

Yes… Looks like I got the target and job settings mixed up but I am still getting the same error.

Hi,
does this path exist? Does the site user have permissions? Have you already tried a completely different path such as /tmp?

Karl

Thank you… you pushed me in the right direction while testing I realized that while I assumed my path was correct I failed to realize that the past was actually symbolic. Should have been /opt/omd/backups

User error.

I vote for slightly adjusting that error message.

@theyken most users (I’m including myself here, I stumbled over this 2 weeks ago), don’t immediately understand what a “canonical path” is. I’m not sure if/where a precise definition exists but maybe the following would help users find the issue more quickly:

Suggestion:
"You have to provide a canonical path! (i.e. absolute path, that does not include symlinked directories like /omd/ → /opt/omd/ "

2 Likes

Oh no! This really is a very unhelpful error message, thanks for tagging me @gstolz
Sounds like an easy win to me, I will create a ticket to rephrase the error message :slight_smile:

1 Like

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.