Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backing up using this app/template #240

Open
DrSpaldo opened this issue Nov 30, 2023 · 2 comments
Open

Backing up using this app/template #240

DrSpaldo opened this issue Nov 30, 2023 · 2 comments

Comments

@DrSpaldo
Copy link

Immich uses the following backup method:

https://immich.app/docs/administration/backup-and-restore

I was wondering how you would use this method & execute these commands if we have installed this version of Immich from the Unraid app store?

@martabal
Copy link
Collaborator

Hello, I think you just need to rename immich_postgres to postgres.
For the content saved in your filesystem, the folders mentioned in the guide can be found in the folder you mounted to /photos

@DrSpaldo
Copy link
Author

Thanks @martabal, you put me in the correct direction. For those that may come across this thread, this is the command that I used for mine....

The command needed to be executed via the Unraid main terminal / ssh connection:

docker exec -t postgresql14 pg_dumpall -c -U postgres | gzip > "/mnt/user/backup/immich/dump2.sql.gz"

Note; postgresql14 is the container name within Unraid for my postgres database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants