Unable to view restored files #980
Unanswered
PapayaPlant
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the issue:
I am unable to view the restored files via the host system one I restore a backed up repo. I am new to Linux and Self-Hosting, so I am sorry if I've missed something very obvious, but ran into this problem when try to test my back-up and restore process.
Posting here, as I'm sure this is not a bug and more user error.
To Reproduce
This all works well & the backup completes. I can see the 10GiB size of my Immich library backed up.
Where my problems come up is my restore location.
When I run the restore to the location, it appears to complete but when I go to check in that directory, nothing.
I can download the snapshot through the backrest UI and extract the files and view the images no problem...but where has the data gone? Why can't I see it via my SSH terminal when I 'ls' that directory?
I open a shell container for backrest and run:
du -h -d 1 /I can see data gets put in the mnt directory, as it's now around 10GiB larger (my cache-ssd is under mnt/cache-ssd), but I still can't see it. So I stop the container, remove it and start again. This time the data is now gone.
I originally thought this could be a permissions issues, so I made sure to have root permissions on the folder location. I then also added it as a volume to the docker compose, still no luck.
I used a bit of ChatGPT to try and help as I could not find much elsewhere online, it suggested I run this:
du -h -d 2 /mnt/cache-ssd/backrest-restore | sort -h | tail -20This is now the first time I've seen the data (it then showed the contents of the folder for all the years of immich data I have)
10.4G /mnt/cache-ssd/backrest-restore/userdataChatGPT seems to think that I see nothing because the restored files only exist inside the container’s private mount layer. Even if I try to change the permissions to my user with a chmod, it still does not seem to work.
Expected behavior
Once a back-up completes, be able to view the data.
It could very well be I am misunderstanding something here, is this just how it should be working? For a restore I then just download the data to my location laptop and then copy it back to the directories it needs to be in?
Docker Compose:
Platform Info
Beta Was this translation helpful? Give feedback.
All reactions