Backup on Windows 10

I understand from the documentation that one canbackup the Immich by using the command docker exec -t immich_postgres pg_dumpall -c -U postgres | gzip > "/path/to/backup/dump.sql.gz" Unfortunately gzip is not available on Windows 10. What's the best way to backup Immich on Windows 10?
5 Replies
MrMetacom
MrMetacom2y ago
How are you hosting it?
harrisc
harriscOP2y ago
Docker compose
Alex
Alex2y ago
Have same issue. Have you find solution?
bread
bread2y ago
If you are using Docker Compose on Windows then that means you are using WSL which is Linux on Windows which means you can use gzip but just on WSL But I don't know how to use WSL since docker works weirdly on it so I can't say how to do it
Alex
Alex2y ago
pg_dumpall -c -U postgres | gzip > inside container works, but have to mount disk to be able to write to local folder. Want to konw if some easier solution is available. By the way, gunzip < "/mnt/media/backups/immich.backup" | psql -U postgres -d immich doesn't work: gunzip: invalid magic

Did you find this page helpful?