Postgres Database Backup

it should be:

docker exec <nextcloud-db-container-name> pg_dump -c -U <nextcloud-db-user> <nextcloud-db> > /.../nextcloud-db.dump

you’ll find a script here:

hope you can read jinja templates. and you need restic install.