backup script

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

Paolo
Posts: 3
Joined: Tue Feb 10, 2009 11:05 am

backup script

Post 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
maschoff
Site Admin
Posts: 2608
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post 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).
OpenEMM Maintainer
Paolo
Posts: 3
Joined: Tue Feb 10, 2009 11:05 am

Post 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?
maschoff
Site Admin
Posts: 2608
Joined: Thu Aug 03, 2006 10:20 am
Location: Munich, Germany
Contact:

Post by maschoff »

Images are stored in the database as well (as BLOBs in component_tbl).
OpenEMM Maintainer
Paolo
Posts: 3
Joined: Tue Feb 10, 2009 11:05 am

Post by Paolo »

Thanks for the answer, really useful!
Post Reply