sure if you backup you DB it will be fine since version is also persisted in DB.

(plus naturally any
content in the templates directory and in the docroot directory)?

depends on your setup, if "repositories home" is set outside the webapp you can simply backup the complete directory webapps/appName

Regards,
- Sameer



On Dec 21, 2006, at 12:32 PM, Christian Sylvestre wrote:

Thanks for the precisions Sameer.

On the subject of Backup. I am using MySQL as a persistenceManager. Am I wrong in thinking that in using a RDBMS as persistence manager you simply
need to restore your DB backup in case of problem (plus naturally any
content in the templates directory and in the docroot directory)?

I have been doing some test (deleted the repository directory and emptied
the bootsrap directory, restoring the MySQL DB from a backup) and then
restarting tomcat and it works fine, i.e. all of the repository content was
available.

Any thoughts?

Thanks,

Christian

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
Sent: December 21, 2006 11:37
To: [email protected]
Subject: Re: [magnolia-user] backup dms ,config...


 mgnlSystem     -> ??


mgnlSystem is use to keep tmp data, you never need to backup this.

Regarding workspaces backup - do not backup individual
workspaces (on
file system) rather simply backup the complete repository OR use XML
export to backup individual workspace data.
its not related to magnolia but the underlying repository
(jackrabbit) maintains root versions of all workspaces and it does
not cope well if you replace / remove workspaces on the file system.

you can write your custom scripts, schedular etc.. to export xml
using magnolia content export tools.



Regards,

Sameer Charles
Magnolia International Ltd.

--------------------------------------------------------------
----------
---------
[EMAIL PROTECTED]       http://www.magnolia.info
Magnolia®  - Simple Enterprise Content Management
--------------------------------------------------------------
----------
---------


On Dec 21, 2006, at 11:26 AM, Christian Sylvestre wrote:

Bonjour Capitaine.

You mentioned that you know a few things about the repositories. As
such I
was wondering if you could help me in having a clear picture of the
content/usage of each repository.

After a quick look at the source and some guessing I came with the
following
list (the list is based on the drop down in the page Tools|Export in
AdminCentral). Based on your experience could you let me know if I
correctly
understand the usage of each of those?

 website                -> Actual Website (pages nodes and
actual content)
 users          -> User Definition (name, email, etc.)
 mgnlVersion    -> Node Versions (does not need to be
exported by itself
since the individual repositories can be exported with versions)
 config                 -> Server, subscriber, Modules (including
templating, i.e. template, dialog, etc.)
 userroles              -> Defined User Roles
 mgnlSystem     -> ??
 Store          -> Workflow Related Content
 Expressions    -> Workflow Related Content
 dms            -> Document stored in the system
 usergroups     -> Defined User Roles

FYI I am using 3.0.1.

Thanks,

Christian

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
Sent: December 21, 2006 10:53
To: [email protected]
Subject: Re: [magnolia-user] backup dms ,config...


Hi dear Lily,

If you want to save the inbox you have to save every workspaces
concerning openWfe. So the workspaces to be saved, are
"Store", that
stores all things that are currently in a workflow process, and
"Expressions" that stores (I guess, I'm not sure) every workflow
defined. But if you want to backup everything, just backup every
workspaces.

And how I know few thing about magnolia like repositories... just
spend 6 months programming your own modules.

Regards,

CAPITAINE Harold

Lily Feng/ICILSZX a écrit :
Dear  Harold:

        Thanks  a lot  for your help, yes, that  is  true
, I  can
backup  such config and dms and so on.

One question more, if  I  want to backup  the inbox
content. which
should  I  do ? there is  no  such "inbox" in "container
webapp"/your_instance_name/repositories/magnolia/workspaces"

And  Would  you  kindly tell me  , how   do  you know it is
mapping to
the "repositories/magnolia/workspaces".

Thanks
Lily

Re: [magnolia-user] backup dms ,config...
Harold CAPITAINE
Tue, 19 Dec 2006 23:39:35 -0800

Hi dear Lily,

Just looking at the command and I think that if you want
to backup
your data from a different repository not website, you have
to change
website to dms (and not documents), for the others
repositories, have
a look to this path, "container

webapp"/your_instance_name/repositories/magnolia/workspaces and you
will see all the name of the repositories.

I think that is only a part of the solution.

Hope to be helpful.

If you are more question, don't hesitate ;)

CAPITAINE Harold

Lily Feng/ICILSZX a ?rit :
Dears:
I have ever seen your website wiki, which tells about how
to backup website with wget.
      I  try to do like that, successfully, thanks.

wget        --http-user=superuser
--http-passwd=superuser     -O /downloads/website.xml

"URL/magnoliaAuthor/.magnolia/pages/export.html?
mgnlRepository=website

&mgnlPath=/
&mgnlKeepVersions=false&mgnlFormat=true&ext=.xml&command=ex
portxml"


But  one  more thing,  if  I'd  like to backup the dms  , users,
roles, config , so what is the commands? Would  you kindly
help me to
solve this porblem.

In  fact,  I  tried  to change "website" to "documents" in
the above
commands, but it export a small xml file ,about 2k bits.
import with
it , nothing.

So  would you kindly look at this problem?


Thanks
Lily


----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------




----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------



----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------





----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------




----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Regards,

Sameer Charles
Magnolia International Ltd.

------------------------------------------------------------------------ ---------
[EMAIL PROTECTED]       http://www.magnolia.info
Magnolia®  - Simple Enterprise Content Management
------------------------------------------------------------------------ ---------







----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to