Skip to content

Backup file owner and ACL on windows #4509

@Sch-Tim

Description

@Sch-Tim

Output of restic version

restic 0.16.0 compiled with go1.20.6 on windows/amd64

What should restic do differently? Which functionality do you think we should add?

According to the docs, restic isn't able to backup/restore file owners and ACL on windows. After a simple test, I can confirm that.
I think that this would be an important and useful feature.

The reasons for that are that as long as you aren't storing only user data on a single user machine, restoring after a disaster could be more time consuming than it needs to be as every user has to restore the data on himself.
If it could be done by the person who reinstalls the system, it's a one step and even possibly automatic process.

The other use case would be to restore data owned by the system or administrator user.

What are you trying to do? What problem would this solve?

I didn't try anything since the documentation says it's not possible.

The question how to keep this kind of information when copying a file is not new and the standard answer seems to be using "robocopy.exe".

I have to admit that I'm rather new to go, but I tried to understand the backup process a bit and it seems that the file isn't simply copied into the repository but somehow bitwise read and rewritten, so using robocopy won't be a solution.

Extra information

This is not meant as a simple feature request. I'd like to participate to this project and out of egoistic reasons this could be my first try.
My question is if there are already ideas how one could tackle this or even failed attempts.
Looking through the open issues, I couldn't find anything pointing in that direction.

Did restic help you today? Did it make you happy in any way?

I'm using restic on my Linux server since a while and I'm pretty happy with it.
Now I want to convert from my current somehow sh'tty backup software on windows to restic and I have some trouble to adjust it to my needs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions