Recovering after resolving all the symlinks?

When making a backup I foolishly selected to follow symlinks. When recovering files from a backup and starting ocis, it threw errors for example:

[{
        "level": "error",
        "service": "ocis",
        "error": "internal error: create container:decomposedfs: Wrap: readlink error: readlink /var/lib/ocis/storage/metadata/spaces/f1/bdd61a-da7c-49fc-8203-0558109d1b4f/nodes/f1/bd/d6/1a/-da7c-49fc-8203-0558109d1b4f/settings: invalid argument",
        "time": "2024-02-10T14:02:07Z",
        "line": "github.com/owncloud/ocis/v2/services/settings/pkg/store/metadata/store.go:69",
        "message": "error initializing metadata client"
},
{
        "level": "error",
        "service": "proxy",
        "error": {
            "id": "go.micro.server",
            "code": 500,
            "detail": "panic recovered: runtime error: invalid memory address or nil pointer dereference",
            "status": "Internal Server Error"
        },
        "time": "2024-02-10T14:02:07Z",
        "line": "github.com/owncloud/ocis/v2/services/proxy/pkg/userroles/defaultrole.go:38",
        "message": "Could not load roles"
},
{
        "level": "error",
        "service": "proxy",
        "error": {
            "id": "go.micro.server",
            "code": 500,
            "detail": "panic recovered: runtime error: invalid memory address or nil pointer dereference",
            "status": "Internal Server Error"
        },
        "time": "2024-02-10T14:02:07Z",
        "line": "github.com/owncloud/ocis/v2/services/proxy/pkg/middleware/account_resolver.go:140",
        "message": "Could not get user roles"
}]

The service can’t start correctly because it is missing all the symlinks even though the data is there.
What can i do to recover the installation? If that’s not possible, what can I do to recover data?