As I guess from what you wrote you restored you backup.
As to not loosing photos - I don't understand, do you want to restore the backup without loosing photos, which were uploaded after doing backup?
i'm sorry I don't understand what you want to achieve.
Certainly Ross,
Then when you have to do a restore of the site without losing files or photos to your Social Memberships is a procedure that is done by your Cpanel.
If you have a daily backup with your hosting, you download the backup date choice, I recommend a day before the error occurs.
It unpacks the rar file copy, open the folder mysql and copy documents folder on the Desktop or the sql database file.
Go in Cpanel under Restore Mysql database and from there to load the sql file.
After reloading the page of the site is restored and the date of the backup choice.
Practically it restores the database dump