this post was submitted on 16 Mar 2024
25 points (93.1% liked)

Selfhosted

39893 readers
462 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
25
submitted 7 months ago* (last edited 7 months ago) by [email protected] to c/[email protected]
 

The backup doc from Immich states that one should use Postgres' dump functionality to backup the database, as well as copy the upload location.

Is there any counter indication to doing this instead:

  • Create a dir immich with subdirs db and library
  • Mount the db dir as a volume for the database
  • Mount the library dir as a volume for the upload location
  • Backup the whole immich dir without dumping the Postgres db. (Stop Immich while before doing this)
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 7 months ago

I do this always for any service but also do a dump of the db in the top directory to keep a clean copy to could be version independent. They wont take much more space ho estly