Skip to content
Discussion options

You must be logged in to vote

Hey @cr0n76, recently I did a PoC of external-to-internal library migration - https://github.com/skatsubo/immich-library-external-to-internal. Its SQL part can be simplified/adjusted to your case.

(Btw, my handsome import paths look like /photo)

Usual disclaimer: direct modification of the database is not supported by the Immich team, have a DB backup.

Table of content

Full-blown stored procedure with dry run and log

Steps

  1. Create stored procedure, see its content below.

  2. Dry run (default).

CALL update_external_paths('/tmp/extvol/media1', '/photo1');
  1. View log/p…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@cr0n76
Comment options

@skatsubo
Comment options

Answer selected by cr0n76
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants