Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Immich
  3. migrate immich backup to different server

migrate immich backup to different server

Scheduled Pinned Locked Moved Immich
3 Posts 3 Posters 726 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T Offline
      T Offline
      taisau
      wrote on last edited by
      #1

      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 apps

      Can 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?

      1 Reply Last reply
      0
      • nebulonN Offline
        nebulonN Offline
        nebulon
        Staff
        wrote on last edited by
        #2

        The postgresdump is just not zipped for Cloudron, so do not use gunzip but use the plaintext file directly.

        1 Reply Last reply
        0
        • J Offline
          J Offline
          joseph
          Staff
          wrote on last edited by
          #3

          Also see: https://docs.cloudron.io/guides/import-postgresql/ and https://docs.cloudron.io/guides/connect-postgresql/

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Bookmarks
            • Search