Author Topic: Ok so my user database wiped itself..  (Read 1585 times)

0 Members and 1 Guest are viewing this topic.

Moobage

  • Youngling
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
  • Twitch Name: midgetsaiyan
Ok so my user database wiped itself..
« on: June 24, 2014, 05:46:24 AM »
I've been using this bot for a while now and i'm rewarding the top viewers on my channel in 7 days all of a sudden the whole database was wiped and everyones back to 0 hours, is there anyway to rollback or is there gonna be any data I can salvage?

norrathreborn

  • Youngling
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
  • Twitch Name: norrathreborn
Re: Ok so my user database wiped itself..
« Reply #1 on: June 24, 2014, 10:01:26 AM »
Same with me, everyone was back to 0 hours and all points were reset

ExpertsOnline

  • Creator
  • Councilor
  • *****
  • Posts: 2656
  • Karma: +289/-24
    • View Profile
  • Twitch Name: expertsonline
Re: Ok so my user database wiped itself..
« Reply #2 on: June 24, 2014, 11:37:08 AM »
Hey mate - backups exist in the following folders:
30min interval backups: backups/0/
6hr interval backups: backups/1/
24hr interval backups: backups/2/

To restore a backup:
Close DeepBot
rename current users.bin to users_bak.bin (This is the backup of your current database)
Find the users.bin file with the appropriate timestamp that you want to restore from the backups\ folder and copy it
Paste the file in the main folder (where the original users.bin was)
Rename the backup file to users.bin (removing the timestamp)
Start DeepBot

Regards,
Experts

norrathreborn

  • Youngling
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
  • Twitch Name: norrathreborn
Re: Ok so my user database wiped itself..
« Reply #3 on: June 25, 2014, 04:44:25 AM »
thanks for the help Expert