Canvas deleted the notes on my pdfs

Community Member

I was writing notes on instructor provided pdfs last night. All of a sudden, canvas spazzed out and when I logged back in, it had deleted the majority of the notes I wrote on my pdf as well as previous pdfs's notes from weeks ago. I've already transferred my notes over but how do I prevent this from happening again and is there any way to recover the notes that were deleted.