Thanks for replying, Björn. Please find my answers below, inline.

On Tue (07/11/17), Björn Ketelaars wrote:
> Please note that:
> 1.) make test fails on some tests, which require root. I think it makes sense
>   to add something like below to do-test:
> 
>        @[ `id -u` == 0 ] || printf \
>        "\n*** NOTE: restic fails on some tests, which require root ***\n\n"

The test that fails as non-root is the one with a file with sticky perms.

I'm afraid this is a problem with Go on OpenBSD. I've submitted an issue
upstream, please check https://github.com/golang/go/issues/22615 for more info.

> 2.) another regression test issue is
>   https://github.com/restic/restic/issues/1307. I have send a fix - which
>   works for me: https://github.com/restic/restic/pull/1414. My patch however
>   has not (yet) been accepted upstream. For the fix to work on 0.7.3. I'm
>   using the diff below this mail.

I've added a simplified version of your patch in the attached tarball, minus the
darwin stuff. Since the fix for this problem will be available on the next
release of Go, I guess the lifespan of this patch will be short, anyway.

> I've more-or-less settled for borgbackup as my backup solution, and I'm only
> following restic from a distance. I would appreciate it if you could remove me
> as MAINTAINER.

Of course. I've added myself as the MAINTAINER in the updated tarball.

I guess this port should wait until a new version of Go with these issues fixed
is committed.

Unless backing up files with sticky permissions is required, restic should work
fine as a back-up solution for OpenBSD.
I'm using it with different backends, including the rest-server on an OpenBSD
host. I'll try preparing and sending a port for the rest-server in the future,
as well.

Attachment: restic.tgz
Description: GNU Unix tar archive

Reply via email to