-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Directory and file attribute "hidden" not restored #2075
Description
Output of restic version
restic 0.9.3 compiled with go1.11.1 on windows/amd64
running in Windows 10
How did you run restic exactly?
.\restic restore --repo D:\test\ --target '/restore' latest --host XXX --password-file password.txt
No environmental variables were used in this test.
What backend/server/service did you use to store the repository?
Local file system - no backend server
Expected behavior
All files and directories are restored along with their attribute settings. Specifically - the hidden attribute.
Actual behavior
All files and directories were restored perfectly except the hidden attribute was lost. For example a .git directory will be fully restored but was visible in the restore. This behavior is consistent across multiple scenarios.
Steps to reproduce the behavior
Create a Windows file and directory marked hidden. Backup and restore then and the hidden attribute is unset.
Do you have any idea what may have caused this?
No
Do you have an idea how to solve the issue?
I cannot tell if the hidden attribute is lost in the backup phase or the restore phase.
Did restic help you or made you happy in any way?
I think restic is a great tool.