Unpack database
Updated for single server