User data only

To backup all user-entered data (just data that is needed to restore SmartSNO to working condition, without collected data) you should run:

$ sudo docker exec smartsnoc /home/sc/smartsno/db/backup/

The resulting file will be placed inside backups/ in your shared directory (/home/smartsno/shared/backups/ by default).

NOTE: There is no need to stop container for this operation.

Total backup

If you wish to perform complete backup (with collected data), you should stop container, backup shared directory (optionally omitting logs) and then start the container again.