You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by mi...@netikka.fi on 2006/08/01 14:05:49 UTC
Backing up the repository
Hi!
What are the current options of backing up a Jackrabbit repository that uses
SimpleDbPersistenceManager and/or DbFileSystem? Can I just shut down the
repository, backup repository home directory and DB (by the means supported by
the db) and be able to do repository disaster recovery from those backups??
I'm aware of the GSoC project for a backup tool, but that seem not to support
DbPM/FileSystem at least initially?
Regards,
Mikko
Re: Backing up the repository
Posted by Nicolas <nt...@gmail.com>.
yes it will :)
Did you experience any problem using it?
Nicolas
On 8/1/06, mikko.peltonen@netikka.fi <mi...@netikka.fi> wrote:
>
>
> Hi!
>
> What are the current options of backing up a Jackrabbit repository that
> uses
> SimpleDbPersistenceManager and/or DbFileSystem? Can I just shut down the
> repository, backup repository home directory and DB (by the means
> supported by
> the db) and be able to do repository disaster recovery from those
> backups??
>
> I'm aware of the GSoC project for a backup tool, but that seem not to
> support
> DbPM/FileSystem at least initially?
>
> Regards,
> Mikko
>
>
--
a+
Nico
my blog! http://www.deviant-abstraction.net !!
Re: Backing up the repository
Posted by mi...@netikka.fi.
Quoting Jukka Zitting <ju...@gmail.com>:
> > P.S. Jackrabbit web site currently looks pretty messed up with Firefox, at
> least
> > with my 1.5.0.5 on XP.
>
> I suppose you are using a relatively narrow browser window? We're
> currently facing an issue with integrating the ASF logo image with the
> recently renewed site layout. I hope to have that fixed ASAP.
Yep, my window was only few pixels narrower than my mighty 1024x768 laptop full
screen, and with window maximized it looks better, thanks :-)
>
> BR,
>
> Jukka Zitting
>
> --
> Yukatan - http://yukatan.fi/ - info@yukatan.fi
> Software craftsmanship, JCR consulting, and Java development
>
Re: Backing up the repository
Posted by Jukka Zitting <ju...@gmail.com>.
Hi,
On 8/1/06, mikko.peltonen@netikka.fi <mi...@netikka.fi> wrote:
> Thanks for the clarification. I think this should be part of the Jackrabbit FAQ.
Good point, thanks. I'll update the FAQ.
> P.S. Jackrabbit web site currently looks pretty messed up with Firefox, at least
> with my 1.5.0.5 on XP.
I suppose you are using a relatively narrow browser window? We're
currently facing an issue with integrating the ASF logo image with the
recently renewed site layout. I hope to have that fixed ASAP.
BR,
Jukka Zitting
--
Yukatan - http://yukatan.fi/ - info@yukatan.fi
Software craftsmanship, JCR consulting, and Java development
Re: Backing up the repository
Posted by Nicolas <nt...@gmail.com>.
Hi Mikko,
Since the work is not over, the design has changed slightly. I will update
the wiki as soon as the code is over. Basically, you will be able (and are
now actually) to backup any repository.
Nicolas
On 8/1/06, mikko.peltonen@netikka.fi <mi...@netikka.fi> wrote:
>
>
> Hi Jukka,
>
> >
> > Until the backup/restore tool is finished, you have two main options:
> >
> > 1) Use the system view XML format to backup the content of your
> > workspaces. This allows hot backups, but doesn't support easy
> > restoring of namespaces, node types, or version histories.
> >
> > 2) Shut down the repository and use file-system (and optionally
> > database) level backup tools. This gives you a complete snapshot of
> > the entire repository, but requires a complete shutdown.
>
> Thanks for the clarification. I think this should be part of the
> Jackrabbit FAQ.
>
> >
> > > I'm aware of the GSoC project for a backup tool, but that seem not to
> > support
> > > DbPM/FileSystem at least initially?
> >
> > It does. The current design of the backup tool works mostly on top of
> > the JCR API using a slightly customized version of the system view XML
> > format along with other information to provide a relatively complete
> > backup of the entire repository. The restore part of the tool should
> > be finished by the end of the summer.
>
> Great! I somehow got the impression it only supports Xml or Object PM from
> here:
> http://wiki.apache.org/jackrabbit/BackupTool, but now reading more
> carefully it
> means the *tool* uses one of these for the backup or what?
>
> -Mikko-
>
> P.S. Jackrabbit web site currently looks pretty messed up with Firefox, at
> least
> with my 1.5.0.5 on XP.
>
> >
> > BR,
> >
> > Jukka Zitting
> >
> > --
> > Yukatan - http://yukatan.fi/ - info@yukatan.fi
> > Software craftsmanship, JCR consulting, and Java development
> >
>
>
>
>
--
a+
Nico
my blog! http://www.deviant-abstraction.net !!
Re: Backing up the repository
Posted by mi...@netikka.fi.
Hi Jukka,
>
> Until the backup/restore tool is finished, you have two main options:
>
> 1) Use the system view XML format to backup the content of your
> workspaces. This allows hot backups, but doesn't support easy
> restoring of namespaces, node types, or version histories.
>
> 2) Shut down the repository and use file-system (and optionally
> database) level backup tools. This gives you a complete snapshot of
> the entire repository, but requires a complete shutdown.
Thanks for the clarification. I think this should be part of the Jackrabbit FAQ.
>
> > I'm aware of the GSoC project for a backup tool, but that seem not to
> support
> > DbPM/FileSystem at least initially?
>
> It does. The current design of the backup tool works mostly on top of
> the JCR API using a slightly customized version of the system view XML
> format along with other information to provide a relatively complete
> backup of the entire repository. The restore part of the tool should
> be finished by the end of the summer.
Great! I somehow got the impression it only supports Xml or Object PM from here:
http://wiki.apache.org/jackrabbit/BackupTool, but now reading more carefully it
means the *tool* uses one of these for the backup or what?
-Mikko-
P.S. Jackrabbit web site currently looks pretty messed up with Firefox, at least
with my 1.5.0.5 on XP.
>
> BR,
>
> Jukka Zitting
>
> --
> Yukatan - http://yukatan.fi/ - info@yukatan.fi
> Software craftsmanship, JCR consulting, and Java development
>
Re: Backing up the repository
Posted by Jukka Zitting <ju...@gmail.com>.
Hi,
On 8/1/06, mikko.peltonen@netikka.fi <mi...@netikka.fi> wrote:
> What are the current options of backing up a Jackrabbit repository that uses
> SimpleDbPersistenceManager and/or DbFileSystem? Can I just shut down the
> repository, backup repository home directory and DB (by the means supported by
> the db) and be able to do repository disaster recovery from those backups??
Until the backup/restore tool is finished, you have two main options:
1) Use the system view XML format to backup the content of your
workspaces. This allows hot backups, but doesn't support easy
restoring of namespaces, node types, or version histories.
2) Shut down the repository and use file-system (and optionally
database) level backup tools. This gives you a complete snapshot of
the entire repository, but requires a complete shutdown.
> I'm aware of the GSoC project for a backup tool, but that seem not to support
> DbPM/FileSystem at least initially?
It does. The current design of the backup tool works mostly on top of
the JCR API using a slightly customized version of the system view XML
format along with other information to provide a relatively complete
backup of the entire repository. The restore part of the tool should
be finished by the end of the summer.
BR,
Jukka Zitting
--
Yukatan - http://yukatan.fi/ - info@yukatan.fi
Software craftsmanship, JCR consulting, and Java development