jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Moseley" <...@osafoundation.org>
Subject Re: Client/Server question
Date Wed, 31 May 2006 15:01:28 GMT
On 5/31/06, Nicolas Toper <ntoper@gmail.com> wrote:

>      /**
>       * Backs up the entire repository contents to the given file.
>       *
>       * @param filename the name of the backup file to be written
>       * @throws IOException if the file cannot be written
>       * @throws RepositoryException if the backup fails for another reason
>       */
>      void backup(String filename) throws IOException, RepositoryException;
>
>      /**
>       * Restores the entire repository contents from the given file.
>       * Note that this will override any existing repository contents.
>       *
>      * @param filename the name of the the backup file to be read
>       * @throws IOException if the file cannot be read
>       * @throws RepositoryException if the restore fails for another reason
>       */
>      void restore(String filename) throws IOException, RepositoryException;

i like it. how about adding alternate versions that operate on
streams? i have an eventual requirement for cosmo to add online backup
and restore functionality (ideally for specific subtrees within a
workspace, but an entire workspace or the entire repository will
suffice for now), and i need to send the data/receive it over webdav
rather than from the local filesystem.

Mime
View raw message