Hi!

We need to perform regular backups of Nuxeo system in order to be assured of 
safety of the data. We use latest version of Nuxeo with VCM with PostgreSQL.
I have made short research regarding Nuxeo backup functionality and here is my 
current thoughts regarding it.

I think we can divide information to backup into two main pieces:
- “dynamic data” (documents, vocabularies, templates, proxies etc.)
- “installation specific files” (configs, custom .jar files (bundles), modified 
system scripts ect.)

There are 3 possible ways how it could be managed:
1.Write own script which backup everything as described on 
doc.nuxeo.org/5.2/books/nuxeo-book/html/admin-backup.html page (section 47.1).
Pros: 
-- should work fast because DB backup will use native RDBMS tool, files and 
folders will be simply archived
-- it should not be difficult to implement it because it's implementation is a 
set of simple straightforward steps.
Cons:
-- We need to care about each datasource (RDBMS, LDAP, files etc.) separately
-- It could not be used for significant software changed in future (change DB 
schema etc.)
-- It requires development effort and strong testing

2.Backup using replication tool (nuxeo-platform-replication-* addons) 
(doc.nuxeo.org/5.2/books/nuxeo-book/html/admin-replication.html) + scripts for 
files backup
Pros:
-- Data source independent (result is not tied to data source details)
-- Applicable for huge software changes (as result of previous item)
-- It is already implemented
Cons:
-- It does not cover back up of "Installation specific files", so, we can not 
use pure replication solution, we should use combination of replication + 
common files backup
-- It could be slow if compare it to native DB backup because it use Nuxeo API 
in order to retrieve all entities for back up. It is just my assumption. I did 
not perform load testing of this approach.
-- It could be more difficult to support it because it has more difficult 
implementation than 1st option.
-- Not very stable, it generated exceptions during test export process on my 
local machine.

3.Use tools/nuxeo-postgresql-replication (use only it's full backup function) + 
script for not DB data sources backup + scripts for “installation specific 
files” backup.
Pros:
-- part of backup scripts already exists
-- other pros are the same as for the 1st option
Cons:
--  the same cons as for the 1st option.

I think my research results wrong somewhere or does not cover all possible 
approaches; it is because I am not very experienced with Nuxeo and now I am 
trying to understand it's features more deeply.

I'll be very thankful if you share your experience regarding Nuxeo automated 
backup approaches, give advices or point to additional information about the 
topic.

Questions:
- What is the recommended technique for automated Nuxeo backup?
- Does nuxeo-platform-replication-* addons cover ALL dynamic entities 
(described in doc.nuxeo.org/5.2/books/nuxeo-book/html/admin-replication.html) 
to backup? I have played with it and did not find some of entities in result 
beckup directory (vocabulary, for instance).

Best regards,
Alexander Litvin.
--
Posted by "alexander.litvin" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread: 
<http://www.nuxeo.org/discussions/thread.jspa?threadID=3011#8867>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to