Maintenance Tasks

1. Abandoned SIPs

Abandoned SIPs are SIPs that have been left incomplete in the AV SIP Generator tool, with no clear intention to be completed. This definition does not include SIPs that are part of collections awaiting Stage 2 Cataloguing.

The following instructions describe the process of identifying incomplete SIPs and if required, fully deleting them.

SIP Status

The first step is to scan a range of SIP IDs to identify their current status.

  • Open the sip_status.py Python script in a text editor
  • Define the range of SIP IDs you would like to search
  • Run the script from the command line interface
  • The script will cycle through the defined range of IDs and record all SIPs completed up to Stage 7 (Logical Structure)
  • The list will be recorded to a sip_status.txt text file in the following format
Output Format Example
step; sipid; shelfmark 5;10088;C602/450

The Shelf Marks can then be exported and compared against a list of completed collections, to confirm if they are abandoned and can be deleted.

2. Archived SIPs

Archived SIPs are SIPs that have been ‘deleted’ by a user in the Tool using the Remove button. This function does not actually delete a SIP but removes in from the search index and marks it as Archived in the JSON.

  • Open the sip_archived.py Python script in a text editor
  • Define the range of SIP IDs you would like to search
  • Run the script from the command line interface * *

3. Deleting SIPs

The following method describes how to fully delete a SIP.

WARNING: this will fully delete all traces of the SIP and remove any files associated with it, the process cannot be reversed.

  • List each SIP ID in SIPstoDelete.txt file
  • Run the sip_delete.py Python script from the command line interface
  • The script will run through the list and fully delete the SIPs, including all associated files

Note the above scripts reuire the config.py file to function