Fix backup crash