Getting partitioned table restore to work