...
Code Block |
---|
settings.common.arcrepositoryClient.class |
If you do use the default, you need to set the environmentName correctly, so your ArcrepositoryApplication receives your GetFile request, and define your replicas, and the replicaId of the replica where you want to get the data. All this is most easily put into a local settings.xml:
...
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 SETTINGSFILENAME=settings_ArcRepositoryApplication.xml java -Ddk.netarkivet.settings.file=/home/user/conf/settings_ArcRepositoryApplication.xml$SETTINGSFILENAME \ -cp lib/dk.netarkivet.archive.jar \ dk.netarkivet.archive.tools.Upload \ file1.arc [file2.arc ...] |
...