Backing up ofbiz
Posted by Daniel Watford on
URL: http://ofbiz.116.s1.nabble.com/Backing-up-ofbiz-tp4762412.html
Hello,
What are the minimal components of an ofbiz deployment that should be
backed up such that it can be restored on a new host?
I know we could grab a copy of the whole filesystem and database, but I
would like to explore how to keep the size of the backup as small as
possible. Part of the reason for this question is to determine what should
be exposed to the host filesystem for a docker deployment.
The things I thought might need backing up are:
- Database dump
- Database configuration ($ofbiz/framework/entity/config/entityengine.xml)
- Base configuration ($ofbiz/framework/base/config/*)
- Common configuration ($ofbiz/framework/common/config/*)
- Any other modified configuration files
- Any customised template files such as
$ofbiz/application/accounting/template/invoice/*
I have left out the plugins directory as I have assumed these would be
installed as part of any deployment script. However any configuration files
for those plugins would need to be backed up.
Where does uploaded content get stored? This will need to be backed up too.
Any comments, additions and removals to the above gratefully received.
Also any war stories about backup strategies you employ, any recommended
tools, experience of performing an emergency restore, how big your backups
get, etc. would be good to share.
Thanks,
Dan.
--
Daniel Watford