Add archiving to dumpDb