ansible-role-borgbackup icon indicating copy to clipboard operation
ansible-role-borgbackup copied to clipboard

Non root-user cron job

Open egdoc opened this issue 2 years ago • 0 comments

Hello,

I took a look at the role, but there is a thing I don't get. When the borg_user is not root, it is created and a sudoers rule is added to let it run borgmatic and borg commands without password. In the cron job however, "sudo" is not used as part of the command. Wouldn't this fail to be executed?

egdoc avatar Sep 15 '23 11:09 egdoc