import json


def get_metadata(db_id):
    """Gets the metadata for the specified backup database ID"""
    with open('backups/{}.meta'.format(db_id), 'r', encoding='utf-8') as file:
        return json.load(file)