<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def marvcli_restore(file):
 """Restore previously dumped database"""

    data = json.load(file)
    site = create_app().site
    site.restore_database(**data)