Hi! How can I create a backup of the Triton database from within the app? I couldn’t find a backup option in the program. If there’s another recommended way, could you please point me to it? Thanks!
There is no option to create backup directly from tryton. You should use the tools of your database in order to backup it
You can have a look at the following reply which explains the process for PostgreSQL:
Please tell me how to run pg_dump when Tryton is running in Docker and PostgreSQL is inside the container.
To run pg_dump when Tryton and PostgreSQL are in Docker containers, first find the PostgreSQL container’s name or ID using docker ps. Then, execute docker exec <postgres_container_name_or_id> pg_dump -U <your_postgres_user> -d <your_tryton_database_name> > tryton_dump.sql to create a dump file outside the container.
If you want the dump file inside the container, redirect the output to a path within the container, for example: docker exec <postgres_container_name_or_id> pg_dump -U <your_postgres_user> -d <your_tryton_database_name> > /tmp/tryton_dump.sql and then use docker cp <postgres_container_name_or_id>:/tmp/tryton_dump.sql . to copy it to your host.
P.S: I just used “Ask AI” feature from discuss to generate this reply.