Moving data from one container to another

Turned out that during an update the container details were misplaced, so for a couple of days, production data went into test container. Is it possible (with SQL operations) move the data to correct contained, or would this mess some indeces or the database structure?