migrate immich backup to different server
-
I'd like to restore the immich database to a non-cloudron server. The Immich backup/restore instructions
say to do this:gunzip < "/path/to/backup/dump.sql.gz"
| sed "s/SELECT pg_catalog.set_config('search_path', '', false);/SELECT pg_catalog.set_config('search_path', 'public, pg_catalog', true);/g"
| docker exec -i immich_postgres psql --username=postgres # Restore Backup
docker compose up -d # Start remainder of Immich appsCan I use Cloudron's "postgresqldump "backup to do this? It does not appear to be a gzip file. "gzip: stdin: not in gzip format".
Or is there an easier way to restore the database on a non-cloudron server?
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login