How can I export and import all data and metadata from a partition?