I have installed Odoo 10 Community Source version on Ubuntu server 16.04 and use it for development. Sometimes I install multiple instances of different versions. Some times they work and some time they create problem. In the event of issue I restore the whole image (created by clonezilla) of the harddisk to bring the system in previous good working condition.
I want to know is there a way I can rsync only but all the directories of Odoo and it is supporting / database files else where from the system, so that it can be restored in very simple way by switiching off the Postgresql and Odoo services.
I tried making copy of the Odoo directory and restoring it but that did not work.
Please let know which directories are too be copied from the filesystem to bring back Odoo in working condition by just recopying the same.