You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jackrabbit.apache.org by Apache Wiki <wi...@apache.org> on 2006/06/13 15:43:23 UTC

[Jackrabbit Wiki] Update of "BackupTool" by JukkaZitting

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The following page has been changed by JukkaZitting:
http://wiki.apache.org/jackrabbit/BackupTool

------------------------------------------------------------------------------
  </rabbitHole>
  }}}
  
+  * ''Are the username and password needed? If the backup tool runs as a part of the repository, it could just circumvent the access controls. -- JukkaZitting''
+ 
  As you can see, we can backup either all workspaces or a specific one and the same class is used to save and restore a resource (we would be implementing a specific interface with two methods: backup and restore). The Javadoc is going to specify the dependency from the save/restore class to the “main” one (using @link?).
+ 
+  * ''Would it make sense to have the "main" class (e.g. a PersistenceManager) implement the BackupResource interface and have the save/restore methods? -- JukkaZitting''
  
  External parameters would be passed to the classes too (for instance to know where is the repository.xml).