Restore from backup but public images and files are not showing

I just did a backup and restore of my database and everything was fine until i checked all attachments and found out they were not linked. I properly restored the public and private folders with files and images in them to their specific locations but still it would not show up.

See sample below:

Anything i have missed? Any way to restore all URL links?

Thank you!

-Aaron

Used bench to backup with files.

bench --site <sitename> backup --with-files

Noted. May i know how do i restore this?

Got it working by the way. Changed the public/files folder permissions. By the way what is the purpose of the private folder aside from storing the backup files?

Private files are only accessible by permitted users.
When file is attached and private check box is selected the file is stored in private directory.