Closed hemant5400z closed 2 years ago
Hi, do you run a db cleanup regulary? I run it each time the container starts (enabled it by default). You can find more in the "features" section: https://github.com/xirixiz/dsmr-reader-docker#features
Depending on old and unused data, this process might take some time.
Sorry, didn't read properly. There's actually nothing interesting to backup from the dsmr container. See the backup/restore options in the section: https://github.com/xirixiz/dsmr-reader-docker#features.
The reason dsmr data is big is that dsmr also creates db backups on a scheduled base (for each day of the week one backup if I`m not mistaken). You can find it as the mounted volume in you docker-compose file for the dsmr container, it most probably contains the word "backup" :)
Hi,
I know there is a backup volume, however when exporting a container, the volume data is not exported ( I assume) but so be sure I deleted all the backups in the volume but still the container was claiming 2.5 gb export data.
Hemant
Hi,
I need to have some more details on this in order to help out.
docker ps -a | grep dsmr
and docker images | grep dsmr
?I noticed you're using the Synology UI to export a container. I`m not sure what's happening in the background then. Perhaps you can export it manually and see if there's a difference in size.
docker export dsmr > dsmr.tar
. When I export the image like that, the size doesn't exceed 100mb.
-rw-r--r-- 1 root root 99M Aug 29 08:52 dsmr.tar
Maybe you can also share your settings for spinning up a container (docker-compose.yml?)?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Support guidelines
I've found an issue and checked that ...
Description
Hi,
Im moving my docker to another server hence exporting both dsmr and dsmrdb. I noticed that dsmr docker is almost 2.5 GB. Expected the dsmrdb to be large as it contians the database but is uses the volume mapping to store the DB.
What I don't understand why the dsmr docker is that large as it does not contain any data only the configs. I also deleted the backupdir contents to be sure the issues was not there but still the dsmr docker is 2.5 GB not sure what it storing there.
Can someone help me to understand /cleanup this docker?
Expected behaviour
dsmr should be small similar approx 300-400 MB.
Actual behaviour
The dsmr docker has grown to a huge beast 2.5 GB when exporting.
Steps to reproduce
Export docker from Synology docker panel.
Docker info
Version
Docker compose version (type
docker-compose --version
):docker-compose version 1.28.5, build 1bbbad71
System info (type
uname -a
): Linux 3.10.105 #25426 SMP Tue May 12 04:40:16 CST 2020 x86_64 GNU/Linux synology_bromolow_3615xsDocker compose
Container logs
not sure if this is relevant
Additional info
No response