I tend to use cron to just svn up every night. :)
I would recommend *not* backing up the entire directory, and just the RRDs, MySQL and config.php.
When you "reinstall" all you do is svn co, copy RRD, copy config.php, insert MySQL and it should pick up where it left off.
I actually do this quite often when i break my installation when doing dev.
adam.
On 15/10/2012 07:06, Maarten De Wispelaere wrote:
Hey,
some svn command + little script to check if it is actual update + mail command ?
that's how I would do it... or is there something build-in into observium for that ?
On 15 Oct 2012, at 13:58, Mahomed Hussein <Mahomed@CustodianDC.com mailto:Mahomed@CustodianDC.com> wrote:
Hi Tom Thanks for the quick and helpful response. I'll go with backing up the entire directory. On a semi-related note, is there a way of being notified by email when there is an update available as it seems we are manually doing the svn update at the moment. Kind regards,
*Mahomed Hussein*
Custodian DataCentre
email:Mahomed@CustodianDC.com mailto:Mahomed@CustodianDC.com
*From:*observium-bounces@observium.org mailto:observium-bounces@observium.org [mailto:observium-bounces@observium.org mailto:bounces@observium.org]*On Behalf Of*Tom Laermans *Sent:*15 October 2012 12:46 *To:*Observium Network Observation System *Subject:*Re: [Observium] Backing Up Observium Hi Mahomed,
Observium stores its data in 2 places:
- rrd directory (usually /opt/observium/rrd)
- mysql database
If you back up those 2, you should have a backup.
If you're not running the latest version, take note of the revision number, and check out that version from svn upon restore (or, alternatively, as you said, back up the entire source directory instead).
You should then after installing the necessary dependencies have a working installation again.
Tom
On 15/10/2012 13:35, Mahomed Hussein wrote:
Hi I need to ensure our install of Observium is fully backed up and I'd rather not backup the entire VM. Could you please confirm if all I need to backup are: ·/opt/observium directory ·Observium database ·/etc/apache2/sites-enabled/000-default What I'd like to achieve from the backups is to spin up a new VM instance, run through the install steps to get the required components installed, then restore the files so that Observium then just runs as it was at the point of the last backup. I have tried checking the FAQ and a search of the mailing list but I couldn't find any specific instructions. Any help will be greatly appreciated. Thanks in advance. Kind regards, *Mahomed Hussein* Custodian DataCentre email:Mahomed@CustodianDC.com <mailto:Mahomed@CustodianDC.com> _______________________________________________ observium mailing list observium@observium.org <mailto:observium@observium.org> http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org mailto:observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium