Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

You need to have the external database running, the admin.data file must exist, and the tool must be run from the installation directory of the installation.

Usage

Code Block
export INSTALLDIR=/fullpath/to/installdir
export CLASSPATH=$INSTALLDIR/lib/dk.netarkivet.archive.jar
java -Ddk.netarkivet.settings.file=$INSTALLDIR/conf/settings_ArcRepositoryApplication.xml \
dk.netarkivet.archive.tools.ReestablishAdminDatabase [admin.data]

...

This tool will upload a number of local files to all replicas in the archive. An example of an execution command is:

Code Block
export INSTALLDIR=/fullpath/to/installdir
export SETTINGSFILENAME=settings_ArcRepositoryApplication.xml
java -Ddk.netarkivet.settings.file=$INSTALLDIR/home/user/conf/$SETTINGSFILENAME \
        -cp $INSTALLDIR/lib/dk.netarkivet.archive.jar \
        dk.netarkivet.archive.tools.Upload \
        file1.arc [file2.arc ...]

...