I am running ownCloud on my Synology NAS for some months now and I am pretty happy how reliable it works. But if in some case my RAID would fail I’d loose all my private data. A periodic backup needed to be set up that backs up all my data in addition to the ownCloud configuration and database.
A bash script! What else? It somehow built up from a simple copy to a full fledged backup-split-dump-log bash script that I’d like to share with you. The full script is at the bottom of this page. I’d now like to talk about the parameters you should now to use this script on your installation.