vtiger Forum Index vtiger
The Honest Open Source CRM
 

Recovery from disaster.
Click here to go to the original topic

 
       vtiger Forum Index -> Installation 5.x
Previous topic :: Next topic  
Author Message
jpattoncook



Joined: 06 Oct 2005
Posts: 70
Location: Utah

Posted: Mon Apr 21, 2008 5:20 am    Post subject: Recovery from disaster.  

In the event that my site is hacked or destroyed or I make some changes to my code, I'd like to have a .zip or .tar.gz or something that I can restore to the site without having to make changes and without having to re-install the database.

So, I've been trying to ascertain what files change, why and how they cange upon istallation of vTiger 5.0.4.

Attached is a report on the differences between the files installed on a *nix box at a hosted facility and the files from the 5.0.4 distribution (source) .gz.

It would appear the only one file changes and that is config.inc.php.

That being true, recovery (re-installing the code) should be pretty simple.

I've attached two files. First the report produced by Beyond Compare (very nice) and second, my config.inc.php.

Other ideas?
Back to top  
joebordes



Joined: 18 Aug 2006
Posts: 1089
Location: Alicante/Valencia, Spain

Posted: Mon Apr 21, 2008 6:38 am    Post subject: Re: Recovery from disaster.  

You must have made the compare wrong. At least the parenttab.php and tabdata.php should change and for sure you will get a some new files in the user_privileges directory.
Also install script and directory get renamed.

In any case on a production site you will have to copy the contents of the storage directory and user_privileges (I think there are various threads about this).

I would recommend copying everything regularly, including a dump of the database. That is what we do on our installs, space is cheap and vtigerCRM isn't that big.

Joe
TSolucio
Back to top  
jpattoncook



Joined: 06 Oct 2005
Posts: 70
Location: Utah

Posted: Mon Apr 21, 2008 7:01 pm    Post subject: Re: Recovery from disaster.  

Joe,

Thank you for your response.

:oops: I'll go do my homework and come back.

One thing however, when you export the database, I presume using PHPAdmin, there are a number of settings to choose from.
Do you use any of these settings or just take what the defaults are?
Back to top  
joebordes



Joined: 18 Aug 2006
Posts: 1089
Location: Alicante/Valencia, Spain

Posted: Mon Apr 21, 2008 7:28 pm    Post subject: Re: Recovery from disaster.  

Hi,

On the phpMyAdmin interface I use the default values
In the automatic backup dumps we also use mysqldump default values

Joe
TSolucio
Back to top  
 
       vtiger Forum Index -> Installation 5.x
Page 1 of 1


Powered by phpBB Search Engine Indexer
Powered by phpBB 2.0.15 © 2001, 2002 phpBB Group