Just a basic question here as the docs are strangely silent on the topic of backing up Netdata.
Obviously, backing up config files etc is straight-forward enough and so I’d like to clarify regarding the data stored in the dbengine.
My assumption is that I can simply stop the Netdata service and make a copy of the dbengine folder:
/var/cache/netdata/dbengine/
and then restart the Netdata agent service.
I’m also guessing that, if necessary, the following link has sufficient information about restoring the files in terms of permissions:
So specifically we’re setting permissions for the user and group with the name “netdata” to 0750 for directories and 0660 for files.
Is it possible/advisable to take backups without stopping the agent? Is there a way to do so while ensuring the consistency of the backup?
I guess that this meshes with the idea that one might wish to make frequent backups of the netdata dbengine, especially if the node is a Production parent with many child nodes and the data is valuable. Ands so I wonder if there would be any serious impact on the netdata agent on a busy parent node in the case of taking frequent backups.
What is frequent? You guys tell me what is advisable given the above