Page 1 of 1

backup script

Posted: Tue Feb 10, 2009 11:20 am
by Paolo
Hi all,

I'm currently writing a script to backup every night the data of my openemm server. The goal is to be able to quickly restore all the data in case of server failure.

I'm quite new of openemm so i'm trying to understand where the sensible data is stored, avoiding to backup unnecessary files.
Except the database which of course will be saved on a file I understood that the main folder is located in /home/openemm/webapps/core. From here we can exclude folders like help_de, help_en and fckeditor2.5.

Do you have other suggestions of folders to consider in my script?

Thanks in advance for any inputs.

Paolo

Posted: Mon Feb 16, 2009 5:21 pm
by maschoff
If you made modifications to emm.properties, you should back up this file. Otherwise you only have to back up the OpenEMM database, because all files are static (except for the - dispensable - log files).

Posted: Tue Feb 17, 2009 9:43 am
by Paolo
I'm not sure that the database is the only thing necessary for my backup. What about all images that I upload under the template section?

Posted: Tue Feb 17, 2009 10:33 am
by maschoff
Images are stored in the database as well (as BLOBs in component_tbl).

Posted: Tue Feb 17, 2009 10:37 am
by Paolo
Thanks for the answer, really useful!