Host-based backup of VMware vSphere VMs.
Post Reply
Backup.Operator
Enthusiast
Posts: 81
Liked: 5 times
Joined: Oct 31, 2022 11:39 pm
Full Name: Backup Administrator
Contact:

Unable to create Hardened Repo on Linux - Agent failed to process method {FileSystem.DirectoryCreate}.

Post by Backup.Operator »

Hi Team,

I am unable to set up the Backup repository using Linux.

This is the error:

Code: Select all

---------------------------
Veeam Backup and Replication
---------------------------
Permission denied
Failed to create directory '/VeeamBackup/backups/'
Agent failed to process method {FileSystem.DirectoryCreate}.
---------------------------
OK   
---------------------------
How can I fix the above issue?

Using the RepoUser account, I can SSH to the Linux server and I can see the /etc/fstab content that /Veeambackup is mounted on /dev/sdb
df -Th result also shows the /dev/sdb xfs 63.9T 25G 3.4T 0.9% /VeeamBackup


Thank you,
:arrow: :mrgreen:
Regnor
VeeaMVP
Posts: 1012
Liked: 314 times
Joined: Jan 31, 2011 11:17 am
Full Name: Max
Contact:

Re: Unable to create Hardened Repo on Linux - Agent failed to process method {FileSystem.DirectoryCreate}.

Post by Regnor »

What permissions have you set on /VeeamBackup? And have you tried to manually create the backups directory via SSH with your repository user?
Backup.Operator
Enthusiast
Posts: 81
Liked: 5 times
Joined: Oct 31, 2022 11:39 pm
Full Name: Backup Administrator
Contact:

Re: Unable to create Hardened Repo on Linux - Agent failed to process method {FileSystem.DirectoryCreate}.

Post by Backup.Operator »

Like this one:

Code: Select all

svc-veeam@bkpsvr01:/Repository-A$ ls -laph
total 4.0K
drwxr-xr-x  2 root root    6 Feb 22 12:23 ./
drwxr-xr-x 20 root root 4.0K Feb 20 15:08 ../

svc-veeam@bkpsvr01:/Repository-A$ ls -ld /Repository-A/
drwxr-xr-x 2 root root 6 Feb 22 12:23 /Repository-A/
svc-veeam@bkpsvr01:/Repository-A$
Is that correct ?
:arrow: :mrgreen:
Mildur
Product Manager
Posts: 9848
Liked: 2610 times
Joined: May 13, 2017 4:51 pm
Full Name: Fabian K.
Location: Switzerland
Contact:

Re: Unable to create Hardened Repo on Linux - Agent failed to process method {FileSystem.DirectoryCreate}.

Post by Mildur »

Hi

It looks like your backup folder Repository-A doesn't have the right owner.
Your Repo User must be owner of the folder Repository-A and it's subfolder/files.

If that doesn't solve your issue, please provide a support case ID for this issue, as requested when you click New Topic. Without case number, the topic will eventually be deleted by moderators.

Best regards,
Fabian
Product Management Analyst @ Veeam Software
Regnor
VeeaMVP
Posts: 1012
Liked: 314 times
Joined: Jan 31, 2011 11:17 am
Full Name: Max
Contact:

Re: Unable to create Hardened Repo on Linux - Agent failed to process method {FileSystem.DirectoryCreate}.

Post by Regnor »

Fabian is right, you need to change the owner of your folder to svc-veeam. And in addition also change the permissions to '700'.
albertwt
Veteran
Posts: 944
Liked: 53 times
Joined: Nov 05, 2009 12:24 pm
Location: Sydney, NSW
Contact:

Re: Unable to create Hardened Repo on Linux - Agent failed to process method {FileSystem.DirectoryCreate}.

Post by albertwt »

Try this command below:

Code: Select all

sudo chown svc-veeam /Repository-A/
I hope this is useful to you.
--
/* Veeam software enthusiast user & supporter ! */
Post Reply

Who is online

Users browsing this forum: Baidu [Spider] and 37 guests