Thanks for being with Samsung and for sharing your concern. We regret for the inconvenience caused to you. We would like to inform you that if you have took the data backup then you can restore the deleted data.
However, for future we recommend you to take back up in your pc, kindly install Smart Switch software in your pc from the below link:
http://www.samsung.com/in/support/smartswitch/
Be sure to hit ♡ when you find an answer that works for you.