Vincent,
The XAR was exported from the same xwiki-enterprise-1.1-milestone-3 version
of our xwik, so it should be ok, but is unreadable.
It's great having the Import/Export facility in XWiki but a separate
Backup/Restore facility based on the code behind the Import/Export facility
would be good ... something like
http://confluence.atlassian.com/display/DOC/Administrators+Guide#Administrat
orsGuide-dataandBackups
<http://confluence.atlassian.com/display/DOC/Administrators+Guide#Administra
torsGuide-dataandBackups> (daily backups, etc) rather than having to backup
via a database backup utility, and if you didn't have to attach an XAR file
to import it as a backup you wouldn't have the constraints of attaching a
file and importing/restoring would be more efficient.
Being able to backup and restore data easily is very important to my
organisation ... most organisations.
Thanks,
Richard
-----Original Message-----
From: users-bounces(a)xwiki.org [mailto:users-bounces@xwiki.org]On Behalf Of
Vincent Massol
Sent: 21 November 2007 16:14
To: XWiki Users
Subject: Re: [xwiki-users] Export/Import/Backups
Hi Richard,
On Nov 21, 2007, at 4:56 PM, goldring, richard wrote:
Hi,
I had a problem with importing an XAR running
xwiki-enterprise-1.1-milestone-3 and my WinZip program didn't recognise the
XAR as zipped file like other XAR files. Is this a known problem?
You say you have a XAR that you cannot import in XE 1.1.M3. So the question
is: where did you get this XAR from?
Has it been fixed in the latest releases? Is there anyway to recover the
data in this 'corrupted' XAR?
Let's first understand your problem.
Could the Import/Export facility be develop to provide proper backups (as
Confluence does) so you don't have to attach an XAR file to restore as a
backup?
Could you describe a bit more what you call a "poper backup". I haven't
used
confluence for a while and I don't recall how it does it (I thought it was
generating a zip containing XML files much like what xwiki does).
BTW for large databases we don't recommend using XARs (they should be
reserved for applications import/exports I think) since attaching tens of MB
isn't a good solution. For large DBs we recommend backuping the DB using the
standard DB backup tools.
If you have some ideas for improving backups please let us know. That'd be
cool.
Thanks
-Vincent
Thales UK Ltd (Wells) DISCLAIMER: The information contained in this e-mail
is confidential. It may also be legally privileged. It is intended only for
the stated addressee(s) and access to it by any other person is
unauthorised. If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information contained in
this e-mail. Such unauthorised use may be unlawful. We may monitor all
e-mail communications through our networks. If you have received this e-mail
in error, please inform us immediately on +44 (0) 1749 672081 and delete it
and all copies from your system. We accept no responsibility for changes to
any e-mail which occur after it has been sent. Attachments to this e-mail
may contain software viruses which could damage your system. We therefore
recommend you virus-check all attachments before opening. A business of
Thales UK Ltd. Registered Office: 2 Dashwood Lang Road, The Bourne Business
Park, Addlestone, Weybridge, Surrey KT15 2NX Registered in England No.
868273