Fix backup tool functions