This would be done after the copy of the original installation, via the user interface. (Login → Administration → Hosted Journals → Remove, Remove, Remove …)
In another thread, someone else had modified a script in 2.4.8 to remove the journals from the command line: