There are two ways to back up. It is either possible to back up the entire disk or individual directories.
/var/elachain/ca
/var/elachain/gateway/wallet
/var/elachain/apps/admin/mongo
/usr/local/NODE_CONTROL/scripts/apps/admin/.env
file must also be backed up. The database dump can be done using the command (assuming the container with the db is OK)/var/elachain/apps/admin/mongo_dump
source /usr/local/NODE_CONTROL/scripts/apps/admin/.env && docker exec apps-admin-mongo bash -c „mongodump –username=${mongo_username} –password=${mongo_password} –authenticationDatabase=admin –db=blockchain -o=/data/dump“
/usr/local/NODE_CONTROL
/var/elachain