I backup some of my personal content with cloud sync tasks to Google Drive.
I would like to backup my config folder “/var/db/system/configs-” to the cloud too, but of course I cannot access the path from the cloud sync function. I guess I need a cron job to copy the config folder to my main pool and then I can cloud sync from there.
Can someone please help me creating a script that I can use in a cron job?
I know that already as I mentioned it in my post. What I’m looking for is some linux scripting help to copy that to a POOL which I can run a cloud sync from.
I guess there is a cp command in the script and I have a vague recollection you have to change the config of the file so it can be executable but it is a long time since I’ve done this.
I’m glad that this simple snipplet Is what you need for your use case, also because you put on my attention that there Is this backup option and i will start use It too
Perhaps i have to admit that, as @smione, i don’t have a clue to how eventually use It in case of needs.
You know also that the multi report send the complete config backup via email too? As i remember Joe has incapsulate that process into a function, so should be viable to extract and modify It to accomplish the Google drive sync