SCHEMA-7. Add metadata tool to CLI. Implements backup and restore functionality.