Backups?
Posted: Wed Aug 22, 2012 1:38 pm
Hi All,
I was wondering how you guys thinking about Backing up your Domotica system and how you do this.
I am running a virtual Linux CentOS6 server for my home-brewed software and scheduled a MySQL dump every night around 00:05 AM, I write this dump over a mounted network share to my Windows Fileserver. When the MySQL dump is finished my system is cleaning-up old/expired records and optimizing the tables (removing table overheads etc). The system (PHP) files (including logs, camera captures, recordings, etc) are backupped once every week (on sundays), also to the mounted share.
For now this is working well for me, my database is currently small, around 5 MB in size (I am logging data for 11 months now) and quickly backed-up but is growing every day. I should see how I gonna do this in a few years from now, when the database is around a few hundred MB. Enough time to think about
I was wondering how you guys thinking about Backing up your Domotica system and how you do this.
I am running a virtual Linux CentOS6 server for my home-brewed software and scheduled a MySQL dump every night around 00:05 AM, I write this dump over a mounted network share to my Windows Fileserver. When the MySQL dump is finished my system is cleaning-up old/expired records and optimizing the tables (removing table overheads etc). The system (PHP) files (including logs, camera captures, recordings, etc) are backupped once every week (on sundays), also to the mounted share.
For now this is working well for me, my database is currently small, around 5 MB in size (I am logging data for 11 months now) and quickly backed-up but is growing every day. I should see how I gonna do this in a few years from now, when the database is around a few hundred MB. Enough time to think about