jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: BackupTool Main Class
Date Mon, 26 Jun 2006 10:03:00 GMT

On 6/26/06, Tobias Bocanegra <tobias.bocanegra@day.com> wrote:
> save/restore are no symmetric. backup/restore, save/load,
> export/import, would be. i would prefer a
> RepositoryImpl.getBackupManager() call, that then can have whatever
> methods make sense.

+1 Agreed.

> btw: i don't like the Input/Output streams on the save/restore
> methods. especially when dealing with large repositories, you will
> need java.nio, split-files, etc.

A reasonable alternative would be to specify just the path of the
backup file to use.


Jukka Zitting

Yukatan - http://yukatan.fi/ - info@yukatan.fi
Software craftsmanship, JCR consulting, and Java development

View raw message