Versions Compared

Key

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

...

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=/home$INSTALLDIR/user/conf/$SETTINGSFILENAME \
        -cp $INSTALLDIR/lib/dk.netarkivet.archive.jar \
        dk.netarkivet.archive.tools.Upload \
        file1.arc [file2.arc ...]

...