Skip to content

Instantly share code, notes, and snippets.

@numselli
Created March 19, 2022 22:03
Show Gist options
  • Save numselli/0a05e05cc1789760f5eb229cbc492c1d to your computer and use it in GitHub Desktop.
Save numselli/0a05e05cc1789760f5eb229cbc492c1d to your computer and use it in GitHub Desktop.

What happend

I was backing up the virtual computer that hosts all of my stuff like the counting bot and it corrupted the data on the virtual computer. instead of leaving it I attempted to save the data but I was tired and I did not read the warning saying I was about to delete the virtual computer. I did not have any backups and data recovery attempts were unsuccessful.

What data was affected

Everything that I host that includes the following (from memory):

  • counting bot
  • historical growth trends for the bot
  • website analytics
  • my public photo gallery (i have a backup of this)

What I will do to prevent this going forward

I have set up redundant auto backups every two hours that should stop this from ever hapining again.

How do I recover my user statics

  • find the most up-to-date response to /user
  • reply to the /user command with --recover-user
  • run /user again and see your stats

Note: You can only run this command once. If you have never run the /user command before there is no other way to restore your statics

How do I recover the stats for a counting channel

  • find the most up-to-date response to /channel in your counting channel
  • reply to the /channel command with --recover-scores
  • run /channel again and see your stats

What should I do if it is not working

Send an invite to your counting channel to the bot and I will manually retore the scores. Preferably make the invite single use and never expire. I will be the only one that sees the invite or the server. I dont care about the content of the server. I will join, do my thing, then leave.

What are the recovery commands?

  • --recover-user
  • --recover-scores
  • --recovery-progress

Once again I am sorry that this has happend but there is not much I can do about it anymore. If you would like to support me and my creations, consider checking out the premium options available on https://counting.numselli.xyz/premium

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment