Hi all,
First time posting on this forum after often browsing it to find interesting info. I hope someone could help me check that my restic repo data files are healthy.
I’ve recently setup up my own repo using Restic v0.18.0; it took a while to back up all my files but it’s been working fine since then.
Recently, the NAS was accidentally turned off. (Mysterious case of cat intervention…). It happened while a
restic check
job was running, so I’m not too worried that the repo was affected. Still, I decided to have a look at the data files and noticed that most of them have 777+ permissions except a handful of them:
$ ll restic_repo/data/00/
[...]
-rwxrwxrwx+ 1 my_user users 129M May 24 23:00 00e4d0c741f4a...*
-r-------- 1 my_user users 129M May 25 06:39 00e59fea416a7...
^
Is it normal??
-rwxrwxrwx+ 1 my_user users 129M Jun 8 13:14 00e7cc9933c65...*
-rwxrwxrwx+ 1 my_user users 129M Jun 9 03:08 00e97244e7dc8...*
-rwxrwxrwx+ 1 my_user users 130M May 25 01:17 00eb294921eec...*
[...]
Is it normal? If not, should I give them similar 777 permissions as with the other files?
What if restic tries to repack/forget these data files in the future?
For info: it took me many attempts to back up the initial data because restic backup jobs would freeze due to my NAS running out of memory and relying heavily on swap, so I eventually switched to another computer to:
a) read the source data from the NAS with rclone, and
b) send it back to the NAS’ restic repo via rclone again.
More info:
- Restic version on the NAS and the data source:
restic 0.18.0 compiled with go1.24.1 on linux/amd64
- I’m running
restic check
jobs daily but it’ll take several months to cover the whole data set.