How to avoid losing data from desktop software like Tally 9.0+

How to avoid losing data from desktop software like Tally 9.0