Deep Bot - Twitch Streamer Assistant

Deep Bot => Bug Reports => Topic started by: DJHellray on May 08, 2014, 10:54:39 AM

Title: lsot all hours and coins
Post by: DJHellray on May 08, 2014, 10:54:39 AM
okay i lost everything theres the error logs please help!
Title: Re: lsot all hours and coins
Post by: ExpertsOnline on May 09, 2014, 09:14:08 AM
Apologies for the inconvenience. This issue is only impacting a few streamers and not all, and hence is challenging to identify the root cause.
DeepBot does save regular backups of the database.

To restore a backup:
Close DeepBot
rename users.bin to users_bak.bin (This is the backup of your current database)
Find the file you want to restore from the backups\0\ folder and copy it (time stamped version of users.bin )
Paste the file in the main folder (where the original users.bin was)
Rename the backup file to users.bin
Start DeepBot
Title: Re: lsot all hours and coins
Post by: DJHellray on May 10, 2014, 05:36:50 AM
thanks the gods it worked! but it was in the folder /1/ intead of /0/ , how do i make a backup to be sure it wont hap[pen again? like all those backup in thefiles /1/ /2/ and /0/ are from the past 1-2 days qhen i needed one from 3 days ago
Title: Re: lsot all hours and coins
Post by: ExpertsOnline on May 10, 2014, 01:22:01 PM
The backups work as follows:
The "0" folder stores backups in 30mins increments and is generally for more recent restores.
The "1" folder stores backups in 6 hour increments and generally covers 2 days worth of data.
The "2" folder stores backups in 24 hour increments and generally covers 1 week worth of data.