chore: sync local state after restore (push updates, no pull)
added mkindex by adding helper script because os/exec.Command() is braindead