Can I recover a deleted user?


(Ultra Noob) #1

Hello,

In Discourse,
If I accidently deleted any user, can I restore user if I have backup file of 2 days back?

Thanks & Regards,
Gulshan


(Bhanu Sharma) #2

If You’re okay with losing 2 days worth of topics, posts and any changes that your users made then yes, it’s possible. Otherwise, don’t even think of it. Just ask them to make a new account and call it a day.


#3

If the user lost important posts you could always install Discourse in a temporary virtual machine, load the backup there, impersonate the user and download the archive of their posts from the profile page but there’s no way to easily merge that users content back into the live forum as far as I know.


(Ultra Noob) #4

I restored backup of 2 days back. Felt, this was easiest way to go.