Google Takeout Phase 2.5 — Extract tar Archives¶
Important
THIS STEP IS ONLY NECESSARY IF YOU CHOSE tar AS THE FILE TYPE FOR YOUR GOOGLE TAKEOUT EXPORT. IF YOU'VE CHOSEN zip, YOU CAN SKIP THIS STEP AND MOVE FORWARD TO Google Takeout Phase 3: PhotoMigrator AS PHOTO MIGRATOR CAN HANDLE ZIP FILES OUT OF THE BOX.
Once your Google Takeout downloads are complete (see Phase 2), you need to extract them.
Quicklink to the Unraid terminal (paste into your browser while logged into Unraid):
http://<your-unraid-ip>/Terminal
Open the Unraid web interface and open the terminal (click the
icon in the top right corner of the navigation bar). The following commands use a tmux session so the extraction continues even if you close the web terminal.
First, download the extraction script:
wget -O /mnt/user/immich/Takeout/extract-takeout.sh https://raw.githubusercontent.com/rorar/immich-unraid-manual/main/scripts/extract-takeout.sh
Then run it inside a tmux session:
tmux new-session -s takeout 'bash /mnt/user/immich/Takeout/extract-takeout.sh /mnt/user/immich/Takeout'
The script extracts each archive sequentially, then verifies every file. You will see OK or WARNING per archive, and any missing files are listed individually.
tmux tips:
- If you close the terminal, the extraction keeps running in the background
- To reattach: tmux attach -t takeout
- To check if it's still running: tmux ls
Note
- Extraction can take a while for large libraries. Be patient.
- After successful extraction and migration to Immich, you can delete the
.tgzfiles to free up space. - Keep the extracted files and your Google Photos library until you've verified everything imported correctly into Immich.