7.2.4 Re-try import of failed documents
If a number of documents failed to be imported for reasons which are meanwhile resolved (access control, locked documents), you can re-import just those failed documents by using the "Importing a subset of documents" technique described above. You can simply copy the list of failed documents from the import summary file to a new import-set document.
For example, in the import summary file you might find this:
<failedBecauseLocked> <document id="2-BOE" branch="main" language="default"/> </failedBecauseLocked>
Which you can copy into a new import set file, e.g. importset.xml:
<documents> <document id="2-BOE" branch="main" language="default"/> </documents>
It is no problem if the <document> element has extra attributes or nested content, this will be ignored.
Then you can do the import using:
daisy-import -f importset.xml -i originaldata.zip -u <username> -p <username>
This will only import the files listed in importset.xml from the originaldata.zip.
If the original import isn't too large, you might want not to bother to create such an importset.xml file and simply run the whole import again.
Previous