Hello,
I used backup my postgres database with this command:
sudo docker exec [ID-of-my-postgres-container] pg_dump -C -c -U postgres -O tryton >[name-of-your-backup-file].sql
@dave provided this solution here.
For some time now, I do no longer get something like 6MB, but just 600kB of data - missing all my bookings, parties, accounts etc.
$ sudo docker ps CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 7ec663f2e052 postgres "docker-entrypoint.s…" 3 weeks ago Up 23 minutes 5432/tcp tryton-postgres
My tryton still is working, all data are present. When I check the database with pgAdmin, I can see my data.
Can somebody guess what could be wrong with my backup command, which used to work nicely?
Thanks a lot in advance,
Wolf