Yes sir.
That should be fine.
Let us know how that goes or if you need more help. You will need to:
- perform a manual dump of the postgres discourse db; and
- create a manual archive of the uploads folder.
The instructions for creating the manual archives are OK in the reference above.
However, when I tested those directions just now, I could not write to the shared directory from inside the container, so I did this first (assuming your instance is app):
docker exec -it app bash
mkdir /shared/mybackups
chown postgres /shared/mybackups
and I changed all the paths to write to /shared/mybackups instead of /shared but you might not have that issue.
Looking forward to reading your progress soon.