David Rosengarden's picture

 

I would like to know if there is any way to get a complete, real time, back up of the ENTIRE vTiger install.

Meaning - that as data is being entered - and then all of the sudden the server crashes unrecoverable - will the very last change made be part of the backup available for restore?

Then also - what about EVERY last change that is made?  Not just record data but user custom fields, layout changes, reports, settings, EVERYTHING?  Is there a standard way to do that in vTiger or is there a better/easier way to do that in vTiger?

Can this be done with a direct to Linux install or is it better to do it say with a virtual machine install?

Thanks in advance!

Forum: 
Jeremy Davis's picture

Being Linux based anything is possible! Well almost... But the devil is in the detail.

If you want a pretty much 'live' type backup that is running constantly then you'll want something with a low resource footprint and a low latency network connection to some sort of storage medium. TKLBAM is a great backup solution but I don't think it would be ideal for the sort of usage scenario you are talking about. I think a rsync script just monitoring the relevant folders and syncing to a remote storage medium would be the go. You'll also need to consider the database backend. To make this run smoothly, especially if you have a high traffic site, you're going to need some serious grunt I reckon! RAM particularly...

OTOH you could try it with the machine based in a VM with a script to take snapshot after snapshot. And you'll still need some remote storage (otherwise you risk losing your backups if you have a physical HDD failure). You'll also need to consider a script to delete old backups because they'll get used up pretty quick.

Another consideration, may be to utilise the LVM snapshot feature. LVM snapshots are not well documented here on TKL but by my understanding is that it is a realistic theoretical possibility for taking snapshots of a live system. You will need to do some research around that though as it is out of my experience so I can't really help there.

Regardless of what method you use, the reality is that completely eliminating the possibility of some data loss is unrealisitc IMO. I'd go the rsync way myself.

Add new comment