how can i restore the database using shell commands?