Hey folks.
A couple weeks ago on my forum i added the first poll, now 6 weeks into the duration a few members asked if i could add a "don't care" option to the poll so i did. Unfortunately i didn't know this would reset poll results. Now i know results are probably stored in the db like everything else, and i do have a recent full host backup (all files and db).
If i restore the site backup somewhere, which tables and entries would i have to "transplant" to recover poll vote counts per option and the member names? If i can just use an sql viewer to recover them that's fine too. As long as i'm able to recover the votes. I have the topic results from
A couple weeks ago on my forum i added the first poll, now 6 weeks into the duration a few members asked if i could add a "don't care" option to the poll so i did. Unfortunately i didn't know this would reset poll results. Now i know results are probably stored in the db like everything else, and i do have a recent full host backup (all files and db).
If i restore the site backup somewhere, which tables and entries would i have to "transplant" to recover poll vote counts per option and the member names? If i can just use an sql viewer to recover them that's fine too. As long as i'm able to recover the votes. I have the topic results from
Code:
SELECT u.username, cast( po.poll_option_text AS char ) AS casted_poll_option_text, pv.topic_id, t.topic_title, t.poll_titleFROM (phpbb_poll_votes pv)LEFT JOIN (phpbb_poll_options po) ON ( po.poll_option_id = pv.poll_option_idAND po.topic_id = pv.topic_id )LEFT JOIN (phpbb_users u) ON ( u.user_id = pv.vote_user_id )LEFT JOIN (phpbb_topics t) ON ( t.topic_id = pv.topic_id )ORDER BY `pv`.`topic_id` DESC
Statistics: Posted by Ch3vr0n — Fri Jul 12, 2024 5:17 pm