I'm experimenting with backup methods right now. I have found that after restoring from a .sql file, my media manager becomes empty. The files remain in
wp-conten/uploads, and newly added images go right next to all the old files, but they still don't appear in the media library on the dashboard.
What is the cause of this issue, and what can I do about it? Preferably a non-plugin solution.