If we decide to do this in-house, the process is as follows:
Create a new production
3.0.1
server using AnsibleStop the production server
Move the following files and directories over from the existing production server. Do not copy the database connector
.jar
file; use the one that comes with3.0.1
config
plugins
data
except for
data/indexer_state
,data/indexer_pui_state
, anddata/solr_index
Copy the database over. Use a fresh backup from production:
mysql archivesspace --password='PASSWORD_REDACTED' --user=aspace \. /home/ubuntu/aspace-backup.sql
Update the database to 3.0.1:
scripts/setup-database.sh
Start archivesspace:
/opt/archivesspace/archivesspace.sh start
Copy over the Apache and EAD and HTML export scripts, if needed
Point the elastic IP at the new server
Stop (and later terminate) the old production instance