Error Message and Logs
Hi,
i'm trying disaster recovery procedure, and i notice that the official guide at
documentation
say to restore backup by using the command:
docker exec -it coolify-db pg_restore --verbose --clean --no-acl --no-owner -U coolify -d coolify < /path/to/your_backup_file
But it gives the following error (on ubuntu):
the input device is not a TTY
This way should works instead:
cat /path/to/your_backup_file | docker exec -i coolify-db pg_restore --verbose --clean --no-acl --no-owner -U coolify -d coolify
If you confirm this, i think that documentation should be updated.
Also, as mentioned in #5314 there is a bug after restoring the instance

If a manual backup of the server keys was necessary, it should be written in the documentation
P.S: I've tryed both using the APP_PREVIOUS_KEYS env variable, than replacing entire .env, as suggested here coollabsio/coolify#3761
Thank you for your work,
have a nice day
Coolify Version
I'm using 4.418
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
ubuntu 24.04 lts
Additional Information
No response
Error Message and Logs
Hi,
i'm trying disaster recovery procedure, and i notice that the official guide at
documentation
say to restore backup by using the command:
But it gives the following error (on ubuntu):
This way should works instead:
If you confirm this, i think that documentation should be updated.
Also, as mentioned in #5314 there is a bug after restoring the instance

If a manual backup of the server keys was necessary, it should be written in the documentation
P.S: I've tryed both using the APP_PREVIOUS_KEYS env variable, than replacing entire .env, as suggested here coollabsio/coolify#3761
Thank you for your work,
have a nice day
Coolify Version
I'm using 4.418
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
ubuntu 24.04 lts
Additional Information
No response