Add backup restore

Working on #52