A script to replace the database for a particular PopIt instance

This is missing any way to bring down the PopIt instance before
replacing its database (see #516).