[Feature] Backup & Restore via GUI #5441
Replies: 6 comments 22 replies
-
It's much better to use tried and tested tools for backing up the filesystem & database than for us to reinvent the wheel about that. |
Beta Was this translation helpful? Give feedback.
-
I’m all about tried and true methods. Can those methods get wrapped up and skinned into the Immich gui? |
Beta Was this translation helpful? Give feedback.
-
I’m sure there must be a reason for requiring a full external PostgreSQL database for this. But, what kind of speed or install size increase would we take if some version of PostgreSQL (or whatever) was just included with this docker? Backup and restore could be much simpler if you had control of the entire database machine right there. |
Beta Was this translation helpful? Give feedback.
-
Additionally, self-hosting puts the files and controls with the owner. The files Immich deals is are super important. If I’m going to go whole hog to Immich, (100% planning on it eventually!) these pics of my kids etc are the first irreplaceable files I’ll be self-hosting. There will be gobs of other people attempting to self-host their own irreplaceable files; all different skill levels and hardware. I know backup isn’t as glamorous as new facial recognition, but it’s going to be an essential part of client retention. |
Beta Was this translation helpful? Give feedback.
-
+1 for this. I'm considering moving my whole photo and video library to Immich, but since I would now be self-hosting, I would be responsible for making regular copies of everything in case of total failure (HDDs/house burning down, etc.). It's one of the main responsibilities you take on (or the benefits you give up) once you move from a cloud-based platform to a self-hosted solution. It's not that I'm not capable of running the commands in the backup & restore section - I work as a software engineer and I'm comfortable with the command line. It's that the page is full of warnings, notes, tips, etc., looks like it could change with any update, and something tells me it would be really easy to screw up if I try to automate it with my own script. This gives me a bit of pause when planning the migration. I think it would be really valuable if we could get a built-in, one-click export/import feature that removes all that friction and also allows us to schedule periodic exports to a folder of our choice. Just my 2 cents! Thanks for the excellent work people are doing on this... what an amazing piece of software! |
Beta Was this translation helpful? Give feedback.
-
+1 on that. There's already an existing guide on backing up and restoring (https://immich.app/docs/administration/backup-and-restore/), however it isn't really suitable for non tech-savvy people and it 1) makes it extra complex and 2) as an Immich operator you have to reinvent the wheel if you need something custom. My use case is: I want to be able to have periodic backups. For that. I'd need to automate the following:
The only way to do it now I know is by writing a custom bash script that does it, which makes me reinvent the wheel basically and doing it on my own. (There's also the "borg" way of doing it, also found in docs: https://immich.app/docs/guides/template-backup-script/, but it also makes it way more complex for an end user than what I suggest below.) Instead, here's how it might look like, this is somewhat similar to what HomeAssistant has:
If Immich would be able to do something like this, that would be really awesome. |
Beta Was this translation helpful? Give feedback.
-
The feature
I was hoping that there would be an option in the GUI to backup Immich & restore once moving server, etc. The current method isn't very user friendly...
Platform
Beta Was this translation helpful? Give feedback.
All reactions